You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is a silly question, but I found no obvious way to add labels to the metrics exposed by ghcMetrics. I plan to aggregate the exposed prometheus text of multiple service instance and so I'm looking for a way to distinguish the instances - I think prometheus labels might be a good way to do so. For sure labels could maybe added during scraping; but I think the running application has much more context information to add reasonable labels/values.
The text was updated successfully, but these errors were encountered:
alaendle
added a commit
to alaendle/prometheus-haskell
that referenced
this issue
Jan 15, 2020
Quick hack to include Prometheus labels in GHC metrics - solves fimad#52.
Please note that this was just a 'hack' to add labels - but it maybe it could be used as a starting point for this feature.
Sorry if this is a silly question, but I found no obvious way to add labels to the metrics exposed by ghcMetrics. I plan to aggregate the exposed prometheus text of multiple service instance and so I'm looking for a way to distinguish the instances - I think prometheus labels might be a good way to do so. For sure labels could maybe added during scraping; but I think the running application has much more context information to add reasonable labels/values.
The text was updated successfully, but these errors were encountered: