-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Inverse Metric-to-log transform #16901
Comments
Hi @drdrsh ! Can you share a bit more about your use-case? It sounds somewhat like you want to serialize metrics somewhere to transmit them between two Vector instances. Assuming that is the case, rather than using the |
Closing since I'm relatively confident that using the native codecs will support your use-case, but feel free to reopen if i'm wrong! |
Hi @drdrsh, how did you solve this problem? I think I run into the same requirement as you did, our situation is we are using vector act as the metrics collector in one cluster: In another cluster we have a http_server source type vector collecting all the requests from the vectors as above to want to aggregate the metrics and send to a central storage place, for example a prometheus server, though we didn't change the metrics data all the way to the server, then the problem is the http_server source type output is log, it seems it did the metrics-to-log transform here, and we find it hard to do the log-to-metrics since we have all 4 types of the metrics and we have to write much more complicated logic to transform into metrics, this use a lot compute resources and can't automatically get the new metrics if they have new tag or field. I think this is the what the inverse mean in the title |
Thanks @jszwedko , the link to the issue is great! I will subscribe to the PR and wait for the updates! |
Metric-to-log transformer takes in metrics and convert them into log events whereas a Log-to-metric transform is only good for extracting a specific type of metrics from a log event. I am looking for a transform that is just the inverse of metric-to-log which can take in a stream of log events (representing serialized metrics) and convert them back into metrics.
The text was updated successfully, but these errors were encountered: