Skip to content

Commit

Permalink
Add windosperfcounters receiver from contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislbs committed Oct 28, 2022
1 parent 8578955 commit 8af3de2
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 16 deletions.
33 changes: 17 additions & 16 deletions docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,23 @@ support at this time). While in alpha, breaking changes may be introduced in a
new release. In addition, any of these components may be removed prior to the
1.0 release.

| Receivers | Processors | Exporters | Extensions |
| :-------: | :--------: | :-------: | :--------: |
| [carbon](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/carbonreceiver) | [transform](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/transformprocessor) | [kafka](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/kafkaexporter) | [ecs_task_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/observer/ecstaskobserver) |
| [cloudfoundry](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/cloudfoundryreceiver) | | | [file_storage](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/storage/filestorage) |
| [collectd](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/collectdreceiver) | | | |
| [databricks](../internal/receiver/databricksreceiver) | | | |
| [filelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/filelogreceiver) | | | |
| [journald](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/journaldreceiver) | | | |
| [kafka](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kafkareceiver) | | | |
| [kafkametrics](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kafkametricsreceiver) | | | |
| [k8s_events](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8seventsreceiver) | | | |
| [mongodbatlas](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/mongodbatlasreceiver) | | | |
| [sqlquery](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/sqlqueryreceiver) | | | |
| [statsd](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/statsdreceiver) | | | |
| [syslog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/syslogreceiver) | | | |
| [tcplog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/tcplogreceiver) | | | |
| Receivers | Processors | Exporters | Extensions |
| :-------: | :--------: | :-------: | :--------: |
| [carbon](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/carbonreceiver) | [transform](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/transformprocessor) | [kafka](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/kafkaexporter) | [ecs_task_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/observer/ecstaskobserver) |
| [cloudfoundry](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/cloudfoundryreceiver) | | | [file_storage](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/storage/filestorage) |
| [collectd](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/collectdreceiver) | | | |
| [databricks](../internal/receiver/databricksreceiver) | | | |
| [filelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/filelogreceiver) | | | |
| [journald](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/journaldreceiver) | | | |
| [kafka](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kafkareceiver) | | | |
| [kafkametrics](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kafkametricsreceiver) | | | |
| [k8s_events](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8seventsreceiver) | | | |
| [mongodbatlas](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/mongodbatlasreceiver) | | | |
| [sqlquery](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/sqlqueryreceiver) | | | |
| [statsd](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/statsdreceiver) | | | |
| [syslog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/syslogreceiver) | | | |
| [tcplog](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/tcplogreceiver) | | | |
| [windowsperfcounters](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/windowsperfcountersreceiver) | | | |

## Experimental

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.62.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.62.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.62.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.62.0 // indirect
github.com/signalfx/golib/v3 v3.3.46
github.com/signalfx/signalfx-agent v1.0.1-0.20221021161939-93120bfc93a2
github.com/signalfx/splunk-otel-collector/extension/smartagentextension v0.0.0-00010101000000-000000000000
Expand Down Expand Up @@ -332,6 +333,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus v0.62.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/signalfx v0.62.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.62.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/winperfcounters v0.62.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
github.com/opencontainers/runc v1.1.3 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/signalf
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/signalfx v0.62.0/go.mod h1:knpTfZsf6jArwqR/fCpp0WV1oRvQ15/MQXojoXdzaKI=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.62.0 h1:qjq2d4mwqtq4+tSC00gQfZvcCwrJJ5O1+xioYXl0X7M=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.62.0/go.mod h1:E3NYT0+b7erHjSg8fkI7O4yxM2yO+0E4Cpq9hS0EIO8=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/winperfcounters v0.62.0 h1:2AFHY2r7I+Hga+UE45feoWARX9RdsOXhANqTI7JrWOI=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/winperfcounters v0.62.0/go.mod h1:H2xW/JlRzLreImGETqbSXIGuH0z8hmo//udRg4YGxtg=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.62.0 h1:UbqBwL8v13LsmOXV+Wbck3w7HFdvV8x9onfiXr4cX1k=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.62.0/go.mod h1:vfaS1L68+HlBFqgvW4JJQis+0shNIl+M4xco7DYjB4g=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.62.0 h1:piNni5kvogpYPYM+8b4VKelJDXybwT+uzMdbKBwNlQE=
Expand Down Expand Up @@ -1704,6 +1706,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceive
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.62.0/go.mod h1:1XO9z6dcpRmYWWDQlIBJbebF8ovgOOmFOX5Gpj5bYdM=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.62.0 h1:qq5hA3i6356prhA0CsuYtmdwHwPcRizfXKkydlJGhhQ=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver v0.62.0/go.mod h1:xE5WIZ7HD/cNcelvU1L0AjfHbPO4Xfo76FMJrZ5gh7Q=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.62.0 h1:juxEyRjn8TnWIGgQM33ZCdFfTqQAoe0G7sdNR90jm6I=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.62.0/go.mod h1:jBsSNRvTs+Ck98zlZbBpFvUh3PI2ClVH9QS8XI6Dmrw=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.62.0 h1:OQP5wEsF9e4OHRAHwqI5xr60com54pq8sAQIYF+gF0Q=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.62.0/go.mod h1:2BlmTB1SztJTkFOg8ohZT1Ux1RO8EPn7Y+AGQlICRGQ=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
Expand Down
2 changes: 2 additions & 0 deletions internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver"
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/exporter/loggingexporter"
Expand Down Expand Up @@ -141,6 +142,7 @@ func Get() (component.Factories, error) {
statsdreceiver.NewFactory(),
syslogreceiver.NewFactory(),
tcplogreceiver.NewFactory(),
windowsperfcountersreceiver.NewFactory(),
zipkinreceiver.NewFactory(),
)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions internal/components/components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func TestDefaultComponents(t *testing.T) {
"statsd",
"syslog",
"tcplog",
"windowsperfcounters",
"zipkin",
}
expectedProcessors := []config.Type{
Expand Down

0 comments on commit 8af3de2

Please sign in to comment.