-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/otlphttp] Getting errors "VALUE_INVALID", "DIMENSION_KEY_OR_VALUE_EMPTY", "METRIC_UNIT_INVALID_CHARACTERS", "OTLP_MESSAGE_MAX_SIZE_EXCEEDED" #33650
Comments
@vaibhhavv it looks like the payload is too big? pinging the dynatrace contributors here @evan-bradley @dyladan @arminru |
@codeboten yes, the payload can be big in our scenario. But receiving other warnings/errors is our concern. |
Hi @evan-bradley @dyladan can you please share your expertise here. |
Hi @vaibhhavv I'm also working for Dynatrace and can help you with this. First, our metrics OTLP API have both limits on the size of the OTLP request and also on the number of metric data points in the request. These you can find in our limits page For your case, the message is being dropped because it exceeds the maximum size (4MB) that's why you get the To solve this, we recommend you using the collector batch processor. You can find an example for setting up the batch processor in our documentation: Batch OTLP requests. That is an initial example which you can tweak to meet our API limits and also make sure your requests don't get throttled read more here. Now for the error warnings you get, those are due to the data not conforming to our guidelines. For example, the dimension These validations and rules can also be found in our docs You may want to look at the source of such metrics and adapt so they comply with our guidelines. Then you should not have warnings/partial success responses anymore. |
Hi @joaopgrassi, first of all, many thanks for your inputs.
One quick question, let's say we are exporting metrics to Dynatrace and one of the metric attributes does not fulfil the criteria due to which some warnings come in our logs. |
Great! I'm glad that things are working now :)
When issues happen in the metric attributes, the metric is always still ingested in Dynatrace. The only situation where attributes can cause a metric to be dropped is if you go over the limit of 50 attributes per metric. Another case is when the All of these cases are also explained in our limits/limitation page (see the table there) What usually happens though in such cases is that we "normalize" the data to fit our standards. For ex, invalid characters are replaced with |
Thanks for the brief explanation @joaopgrassi, I got what I was looking for! |
Component(s)
No response
What happened?
Description
We are using opentelemtry-collector helm chart v0.72.0.
Our use case is we are receiving data from our consumers to our opentelemetry-collector and we want to export those data to a dynatrace. After configuring the exporters and pipeline, we are receiving few eoors/warning logs in otel, and we want to eliminate them.
Steps to Reproduce
Expected Result
Their should be no warnings/errors in otel logs.
Actual Result
Collector version
v0.87.0
Environment information
Environment
We have a k8s cluster and otel is deployed as a deployment.
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: