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.