waggle-dance icon indicating copy to clipboard operation
waggle-dance copied to clipboard

improve metrics by tagging the call and metastore.

Open patduin opened this issue 3 years ago • 0 comments

Prometheus loves tags, we should tag our metrics with the function call and the metastore. We currently put them all in the name this isn't great and hard to create filters in Grafana.

example metric name: counter_com_hotels_bdp_waggledance_server_FederatedHMSHandler_get_functions_primary_calls_total h2. Acceptance Criteria:

  • counter and duration names are kept with class name e.g: counter_com_hotels_bdp_waggledance_server_FederatedHMSHandler_calls_total
  • the function call name and metastore name is added as a tag.

patduin avatar Mar 25 '22 11:03 patduin