Replies: 1 comment 2 replies
-
Hey @ee07b415 ! Thanks for filing #17056. We'll try to look at that shortly. In the meanwhile you could try the You could also consider using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Dear Vector community,
I'm recently doing a project plan to use vector for both agent and aggregator role for collecting the metrics data. The vector agent will working in the data plane where our clients generate some metrics data, on our control plane we have another vector aggregator cluster collecting the data received from the data plane then forward to the centralized prometheus server for monitoring.
Here I runs into the trouble for the metrics data, because #17056, I can't use the native_json as the codec for http sink and source, so I use json as the codec. Then the http source in the control plane got the data:
But this data is in log format so actually it is:
directly connect this source to prometheus_exporter won't work, because prometheus_exporter sink looking for metric input, so I have to add the process for translate the data, I tried some solution as I saw in the discussions and issues, for example:
This will work for gauge and counter type metrics, but not for the histgram and summary, the reason I find from the source code: https://github.com/vectordotdev/vector/blob/master/lib/vector-core/src/event/lua/metric.rs#L781, vector seems think the histgram and summary type data in lua using different schema from the vector metrics. So if I want to use the lua transform the "metrics-log" to metrics, I need add the steps to transform the data which already in the vector metrics format to lua format, this will downgrade the performance a lot(need 5x resource). I'm wandering before the fix of the native type on the http source/sink, what is the solution we are using for the vector to vector metrics data pipeline using http source and sink.
Beta Was this translation helpful? Give feedback.
All reactions