-
Notifications
You must be signed in to change notification settings - Fork 215
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
data is not stored in the format of [<metric_name>: <value>] in OpenSearch. #4281
Comments
The issue here is the limitations to 1000 fields per index. If your suggestion is followed, this limit will be reached pretty fast. Additionally, this creates a lot of sparse fields, which might impact performance badly. Also note, that the current format follows the OpenTelemetry metrics data model. |
@mothercow-dev , The point that @KarstenSchnitter made is good and explains the reason why we do it this way. Because of that, I don't think we would support this in the Is there a particular reason you want this format? |
@KarstenSchnitter , Thank you @dlvenable , As I understand it, when I create a Visualize, I can create it through the values in Available fields. Based on your description, can I use the processor in data-prepper to convert it to what I want? |
I am currently working on a dashboard for the kubeletstatreceiver metrics in OpenSearch with data ingested via DataPrepper. You can use saved searches to filter by the @dlvenable do you think, it would make sense to write an OpenSearch blog post about visualizing metrics data ingested that way? @mothercow-dev would that be helpful to you? |
HI, @KarstenSchnitter |
@mothercow-dev the blog post has been published at https://opensearch.org/blog/opentelemetry-metrics-visualization/. |
Versions:
opensearch & opensearch dashboard 2.11.1
data-prepper 2.6.1
opentelemetry-collector-contrib 0.92.0
When utilizing DataPrepper's metric pipeline to transmit data collected through OpenTelemetry to OpenSearch, the data is not stored in the format of
<metric_name> : <value>
in OpenSearch.OTLE collector to collect kubelet data.
If you check in the opensearch dashboard, the metric name is stored in the name field.
It seems to save as
I want to easily use the visualization features you provide.
, is it possible to change it to something like this?
[name field]
![스크린샷 2024-03-14 오후 3 40 48](https://private-user-images.githubusercontent.com/83107898/312734988-dcd317a3-02ea-4652-b8fa-90399369c59f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjYzNTUsIm5iZiI6MTczOTM2NjA1NSwicGF0aCI6Ii84MzEwNzg5OC8zMTI3MzQ5ODgtZGNkMzE3YTMtMDJlYS00NjUyLWI4ZmEtOTAzOTkzNjljNTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEzMTQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlZmRmOWNmMDQ0NjUyYmQwMWJhOWRiNWRkMzA0OTc4ZmNhOGZmOGFiMjg0ODZiYmNmYTZiOGNhNDJmZjk4OGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.s2hVVqeJvhBQQzBzH4QovGLXHDOfZg6Fitmv5M_a3cU)
[data-prepper config]
![스크린샷 2024-03-14 오후 3 43 34](https://private-user-images.githubusercontent.com/83107898/312741474-3d359f7a-6764-4d51-8299-2077b87e94ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjYzNTUsIm5iZiI6MTczOTM2NjA1NSwicGF0aCI6Ii84MzEwNzg5OC8zMTI3NDE0NzQtM2QzNTlmN2EtNjc2NC00ZDUxLTgyOTktMjA3N2I4N2U5NGFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEzMTQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxMWY3ZDNjY2JhMGJjNDkzNzE2NjE5ZjRmMzI0Yzg1M2FlNTZkNzM1OTc3NDkzNGM4ZDU0ZWUwMGJmZjZkNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qYXcYVgAZ0R0BzdadFzDM5TJd6M39XlmtPb3iI1Pp4Y)
The text was updated successfully, but these errors were encountered: