Hi,

I have a question about labels in metrics. Is it suitable to add additional 
data to label?

I want to report alerts about autonomous systems that has number and name 
(for example: AS2914  NTT America Inc. A want to include both in text 
message of alert.

There are two different approches:
1. one label with AS number
- pros: Don't need to edit exporter when I want to change data in text 
message
- cons: I have to make an API request to get AS name. It could be issue 
durring large outage -> I have to do lots of API requests

2. two labels - AS number and AS name
- pros: I can create whole incident message from labels without additional 
API call
- cons: Store more data in prometheus

What is a good practice?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f44f1dc6-26a1-4c3d-9041-fc91421b3341n%40googlegroups.com.

Reply via email to