Possibility to exclude metrics tags when emitting metrics?
tagsToMap is invoked everything when emitting counter / timer e.g.
consider exclude the unwanted tags when exporting the metrics to e.g. prometheus, instead of during metrics generation, like ^
The tagsToMap would exclude the tags listed in excludeTags by replacing them as const value. Not sure what the suggestion here is? The excludeTags also has whitelist of values that can be included, not sure how useful it is.
Can we execute the exclusion logic when exporting the metrics to e.g. premetheus? instead of doing <- this logic every time when increasing a counter.
sample pic which shows that tagsToMap function may create too many objects
