You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
OTel Lambda Collector docs say that the collector extension allows lambdas to use the OpenTelemetry Collector Exporter to sendtraces and metricsto any configured backend while Telemetry API Receiver document says.
The receiver is configured only for traces as seen here
Is this a miss or intentional? And why is it advertised like it is, if this is intentional.
Steps to reproduce
Added python proto layer. Added otel collector layer. There is manual instrumentation of custom metrics from the lambda code.
config.yaml looks like:
What did you expect to see?
Per the documentation, we expected it to work for both traces and metrics (custom metrics)
What did you see instead?
Only traces were exported and collector threw clear error on endpoint /v1/metrics saying it has reached max number of retries.
What version of collector SDK version did you use? Version
What language layer did you use?
Python
Additional context
No
The text was updated successfully, but these errors were encountered:
threw clear error on endpoint /v1/metrics saying it has reached max number of retries.
This indicates that enterprise.otelcollector.gateway.com does not have an metrics pipeline with an OTLP receiver and that the lambda layer is trying to export the metrics.
One simple way to verify this is the case is to only have the logging exporter in the collector lambda configuration metrics pipeline and then verify in the logs that the metrics are being generated.
Describe the bug
OTel Lambda Collector docs say that the collector extension allows lambdas to use the OpenTelemetry Collector Exporter to send traces and metrics to any configured backend while Telemetry API Receiver document says.
The receiver is configured only for traces as seen here
Is this a miss or intentional? And why is it advertised like it is, if this is intentional.
I do see a PR in progress to add support for Logs
Steps to reproduce
Added python proto layer. Added otel collector layer. There is manual instrumentation of custom metrics from the lambda code.
config.yaml looks like:
What did you expect to see?
Per the documentation, we expected it to work for both traces and metrics (custom metrics)
What did you see instead?
Only traces were exported and collector threw clear error on endpoint /v1/metrics saying it has reached max number of retries.
What version of collector SDK version did you use?
Version
What language layer did you use?
Python
Additional context
No
The text was updated successfully, but these errors were encountered: