-
Notifications
You must be signed in to change notification settings - Fork 58
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
How to Opentelemetry metrics are get in OpenSearch dashboard? #2172
Comments
@opensearch-project/admin move it to observability-dashboards |
Hi, I met the same issue, index is displayed in the select box, but no metrics displayed. CauseChecking the developer console reveals a 500 HTTP request with this message:
Temp fixFollowing this post the mapping API helped to change the type of the name field to the correct type keyword, and now the metrics appears correctly : Expected behaviorThe mapping field type of name should be set to keyword. I didn't find exactly what provides the default mapping used to create the index, and what actually creates this mapping on the index: dataprepper, dashoard or plugin...
So I'm asking if mapping rely only on the provided template or also on received data. Permanent workaroundTo fix this error permanently, we have configured the data prepper deployment with a custom mapping downloaded directly from the OpenSearch catalog : I attached the yaml configuration for the data prepper metrics pipeline. NextThat's not finished, only HISTOGRAM metrics are displayed, I don't know why, so I created this #2236 |
Describe the bug
I install OpenSearch Dashboard , Dataprepper and Opentelemetry use with Helm chart.
So i First of i install OpenSearch and OpenSearch Dashboard and for the automatic generate index in the Opensearch dashboard i install the "Dataprepper" with this configuration in value.yaml code.
Dataprepper configuration code in value.yaml:
`
there are automatic create an index in the Opensearch dashboard with this name "ss4o_metrics-otel-%{yyyy.MM.dd}".
and i install Opentelemetry with this configuration in value.yaml code.
Opentelemetry configuration code in value.yaml:
`
when i install this Opentelemetry than my index "ss4o_metrics-otel-%{yyyy.MM.dd}" total size are automatically high.
this is the index image:
there are all metrics are show in the "Discover" in OpenSearch dashboard.
this is the "Discover" image :
but in the OpenSearch dashboard "Metrics" there are not any metrics are available in this "Metrics" form
this is the "Metrics" image :
Expected behavior
So i want to all index metrics are get in the OpenSearch dashboard "Metrics".
OpenSearch Version
Please list the version of OpenSearch being used.
Dashboards Version
OpenSearch Dashboards version : 2.16.0
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: