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 ?