Open piyush-singh opened 4 years ago
Related to #33203
Here is the customer request: https://cockroachdb.zendesk.com/agent/tickets/6155
As another data point, this is the exact feature our company would like as well. I think many of the metrics under sql_*
would benefit from some tag which ties them back to the application which generated the data. For a shared CockroachDB it makes it difficult to tie a metrics like number of select statements back to the application which is generating them.
A customer requested that CockroachDB expose
sql_exec_latency
andround_trip_latency
on a per application basis. With recent work to decouple prometheus from our internal timeseries system, it may be possible to label metrics with fields like app_name. We should explore what would be necessary to enable this and any other metrics that users would like to group this way.Jira issue: CRDB-3790