This PR adds support for filling in the relabelings and metricRelabelings fields in the ServiceMonitor definition for fluentd-elasticsearch.
For my specific use-case, I want to add labels to the fluentd_tail_file_position metric by extracting the information from the path label.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
Signed-off-by: Robin Ketelbuters robin.ketelbuters@gmail.be
What this PR does / why we need it:
This PR adds support for filling in the relabelings and metricRelabelings fields in the ServiceMonitor definition for fluentd-elasticsearch. For my specific use-case, I want to add labels to the
fluentd_tail_file_position
metric by extracting the information from thepath
label.Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[fluentd-elasticsearch]
)