open-telemetry / opentelemetry-collector-releases

OpenTelemetry Collector Official Releases
https://opentelemetry.io
Apache License 2.0
254 stars 162 forks source link

windowseventlog receiver not included in latest build? 0.71.0 #289

Closed philipcwhite closed 1 year ago

philipcwhite commented 1 year ago

Component(s)

receiver/windowseventlog

What happened?

Description

When I try to use the windowseventlog receiver it errors giving the message unknown type: "windowseventlog". It then lists every included receiver. I am using the 0.71.0 contrib package.

otelcol-contrib.exe --config=config.yaml Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

Steps to Reproduce

Add windowseventlog to config.yaml

Expected Result

Receiver should work as described

Actual Result

Error.

Collector version

0.71.0

Environment information

Environment

OS: Windows 10 Compiler(if manually compiled): official release otelcol-contrib_0.71.0_windows_amd64.tar.gz

OpenTelemetry Collector configuration

receivers:
  hostmetrics:
    collection_interval: 10s
    scrapers:
      memory:

  windowseventlog:
    start_at: end
    channel: application

processors:
  batch:

exporters:
  prometheus:
    endpoint: "0.0.0.0:8080"

  logging:
    loglevel: debug
    #verbosity: detailed

service:
  pipelines:
    metrics:
      receivers: [hostmetrics]
      processors: [batch]
      exporters: [prometheus]
    logs:
      receivers: [windowseventlog]
      exporters: [logging]

Log output

otelcol-contrib.exe --config=config.yaml
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'receivers': unknown type: "windowseventlog" for id: "windowseventlog" (valid values: [kafka memcached solace couchdb elasticsearch googlecloudpubsub rabbitmq redis skywalking riak otlp mysql prometheus awsecscontainermetrics cloudfoundry podman_stats splunk_hec expvar k8s_cluster opencensus receiver_creator statsd syslog aerospike influxdb purefb otlpjsonfile prometheus_simple tcplog udplog flinkmetrics iis k8s_events hostmetrics jmx mongodbatlas wavefront zipkin awsxray dotnet_diagnostics filelog sqlserver vcenter zookeeper active_directory_ds awscloudwatch mongodb httpcheck kubeletstats snmp k8sobjects purefa awsfirehose datadog jaeger postgresql sqlquery apache docker_stats nginx signalfx windowsperfcounters collectd journald nsxt awscontainerinsightreceiver carbon kafkametrics sapm bigip fluentforward googlecloudspanner])
2023/02/09 10:29:44 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'receivers': unknown type: "windowseventlog" for id: "windowseventlog" (valid values: [kafka memcached solace couchdb elasticsearch googlecloudpubsub rabbitmq redis skywalking riak otlp mysql prometheus awsecscontainermetrics cloudfoundry podman_stats splunk_hec expvar k8s_cluster opencensus receiver_creator statsd syslog aerospike influxdb purefb otlpjsonfile prometheus_simple tcplog udplog flinkmetrics iis k8s_events hostmetrics jmx mongodbatlas wavefront zipkin awsxray dotnet_diagnostics filelog sqlserver vcenter zookeeper active_directory_ds awscloudwatch mongodb httpcheck kubeletstats snmp k8sobjects purefa awsfirehose datadog jaeger postgresql sqlquery apache docker_stats nginx signalfx windowsperfcounters collectd journald nsxt awscontainerinsightreceiver carbon kafkametrics sapm bigip fluentforward googlecloudspanner])

Additional context

No response

github-actions[bot] commented 1 year ago

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

atoulme commented 1 year ago

@djaglowski any thoughts on including this receiver in the distro?

Aneurysm9 commented 1 year ago

Transferred to the releases repo as this is a request for change in the release manifest.

djaglowski commented 1 year ago

I'm good with including it.