Closed AntoineC44 closed 2 years ago
Hello @repeatedly, would appreciate your feedback. Adds a layer of complexity but fully retrocompatible and can be useful. Cheers
Hello @cosmo0920 @repeatedly, Kindly requesting some feedback from you guys on this feature and implementation. If ok for you I would add some dedicated tests, Have a good day, Antoine
Thanks @AntoineC44 for this pull request. I confirm this feature would be very useful too on our side.
Hello @cosmo0920 @repeatedly @ashie, Sorry to ping you again, are you able to provide some feedback? If ok for you I would add some dedicated tests, Have a good day, Antoine
hello, this is very useful for me is there any progress?
Hello, I wanted some feedback with the implem from a maintainer before writing tests and having the PR ready, No feedback for now, I can retag @cosmo0920 @repeatedly @ashie, Thanks, Antoine
In addition, could you add description about new config parameter to README.md?
Did the changes, it indeed ends-up being less configuration but more code, especially to handle corner cases around placeholders and reccord accessors.
Fixed typo in README and not broad enough test for the config
@ashie Hello any news?
Hello @ashie, when is the next release planned? Thanks!
Hello,
Preview to get feedback, will add tests if accepted on principle.
Following https://github.com/fluent/fluent-plugin-prometheus/pull/180 here is a PR to add the
init_label_set
feature from prometheus ruby client (see https://github.com/prometheus/client_ruby/commit/0e0f17fb38f2e703f8adfaf16d75b26af32b5053)Here is what it gives with this implem
fluent.conf
result
Example of things that triggers configError with this implem
Having initlabels not matching a string value from label (metric would never be used)
Having initlabels not matching the signature of labels