-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics exporting issue, unknown field "doubleSum" in v1.Metric #707
Comments
Also providing the exporter logs:
And this is it's sidecar configuration: - name: otel
image: public.ecr.aws/aws-observability/aws-otel-collector:v0.14.0
env:
- name: AWS_REGION
value: 'us-east-1'
imagePullPolicy: Always
resources:
limits:
cpu: 256m
memory: 512Mi
requests:
cpu: 32m
memory: 24Mi |
Hi @mentos1386 - it looks like OpenTelemetry JS is still using a version of the protocol from more than a year ago Recent versions of the collector do not support this version for metrics. It looks like this issue is the one to track to see support for the new proto and updated metrics code open-telemetry/opentelemetry-js#2586 OpenTelemetry metrics are currently alpha and different languages have varying support, but all are fairly unstable right now. I would recommend holding off on using OpenTelemetry for metrics until a stable release if possible. |
@anuraaga thanks for such a fast reply. Couple of issues for anyone wanting to track the progress of opentelemetry-js. open-telemetry/opentelemetry-js#2480 |
For anyone interested. A viable workaround is to use prometheus exporter and receiver instead. |
Another workaround is to use a version of collector <= v0.29.0. |
Describe the bug
Unable to configure nodejs to send metrics to collector, which should send metrics to cloudwatch.
I am receiving the following error:
interesting is that when "items to be sent" is empty array, then it works. But, if there are metrics inside, then it doesn't.
Steps to reproduce
With the following versions:
What did you expect to see?
Metrics in cloudwatch.
What did you see instead?
Error sending metrics to exporter (or cloudwatch, i'm not sure?).
Environment
EKS.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: