I’m very new to prometheus so apologies if this a basic/dumb question. I’m working on a prometheus integration between some Network equipment and New Relic using a simple prometheus container. I have everything working except relabeling the metrics as they are sent to New Relic. Using relabel_configs I’m able to add ‘tags’ to each of the metrics successfully, however I’m forced to use underscores rather than dots/periods in the target_label value. Is there anyway around this? here’s an example of what works followed by an example of what I need it to be:
this works but not what I need:
relabel_configs:
- target_label: bt_technology_id
replacement: 'abc123456'
this does not work but what I need it to be:
relabel_configs:
- target_label: bt.technology.id
replacement: 'abc123456'