Score:0

Prometheus Metrics - Multiple boxes in one file

in flag

My existing custom exporter for Prometheus generates:

this_metric_one 10.3
this_metric_two 11.4

Currently this is running on two boxes, Box_A and Box_B. INSTEAD, I want to have Box_C query both (Box_A and Box_B) (for Reasons) and return metrics to Prometheus, without having to change too many dashboards.

Can I have my exporter generate:

Box_A this_metric_one 12.3
Box_A this_metric_two 13.4
Box_B this_metric_one 12.5
Box_B this_metric_two 13.6

??? I can change Prometheus configurations I think but I'm a newb at Prometheus. What files do I change? Glad to read docs but nothing specifies this that I've seen.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.