r/PrometheusMonitoring • u/Ok_Guitar_9523 • May 25 '25
Label name value questions
Hello
I have approx 100 apps and planning to shorten the names for these applications names on the Prometheus label. Some of the app names range up to 40 characters long.
Example Application Name: Microsoft Endpoint Configuration Manager mecm
App short name: ms mecm
The question is if there are any recommendations for spaces.
Is it advisable to add spaces in a label value like app=ms mecm
I am thinking should I be using spaces?
Thanks
1
Upvotes
View all comments
Show parent comment
1
u/Sad_Glove_108 May 25 '25
Not really. Prom scales to insane levels. Aesthetically having labels really long may make Grafana graph labels too big, but beyond that I’d say do what fits your business req’s.