Open sRAVanI417 opened 17 hours ago
Which distribution of the collector are you using? The httpcheck receiver is only included in the collector-contrib distro today https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
Component(s)
No response
What happened?
Description
Steps to Reproduce
Following the document https://opentelemetry.io/blog/2023/synthetic-testing/. Please let me know if the httpcheck reciever is custom reciever requiring any additional plugins.
In otel collector yaml, add the reciever as below: recievers: httpcheck: targets:
run docker-compose
Expected Result
Actual Result
Recieving below error
otel-collector-1 | Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):
otel-collector-1 | otel-collector-1 | error decoding 'receivers': unknown type: "httpcheck" for id: "httpcheck" (valid values: [zipkin nop otlp hostmetrics jaeger kafka opencensus prometheus])
otel-collector-1 | 2024/11/05 12:04:47 collector server run finished with error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): otel-collector-1 | otel-collector-1 | error decoding 'receivers': unknown type: "httpcheck" for id: "httpcheck" (valid values: [zipkin nop otlp hostmetrics jaeger kafka opencensus prometheus]) otel-collector-1 exited with code 1
Collector version
v112.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
No response