We have some data points like this
{
"__name__": "http_request_duration_seconds_bucket",
"endpoint": "apssd",
"instance": "10.10.77.218:8080",
"job": "api-service",
"le": "0.05",
"method": "GET",
"namespace": "foo",
"pod": "bar",
"route": "/localhsdssds/v1/project/<unique
projectid>/provider/WmRESTProvider/blasdsdsd/fummssd/icon",
"service": "api-service",
"status": "4XX"
}
unfortunately though we understand its not best practice to add "route" in
the label name which is driving cardinality we cannot do anything as team
is not ready to change code. Can i put a first aid any way to reduce the
cardinality. (this metric) is too important to drop
some thing like project wise etc by writing rewrite rule. if yes please
advice how ?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/CAHcJzT%3D9VVocykqLveEs-hmwqDLsL3%3D8fxKDeNJhmWJjWzPF5w%40mail.gmail.com.