Skip to content

Commit

Permalink
Merge pull request #33032 from vespa-engine/bjormel/atlassian-service…
Browse files Browse the repository at this point in the history
…-desk-instrumentation

New metric: atlassian.servicedesk.customers
  • Loading branch information
bjormel authored Dec 12, 2024
2 parents 8900f89 + e2d1e06 commit 222cb4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public enum ControllerMetrics implements VespaMetrics {
ATLASSIAN_EXCEPTIONS("atlassian.exceptions", Unit.FAILURE, "Controller: Atlassian exceptions"),
ATLASSIAN_LAST_SUCCESS("atlassian.last_success", Unit.SECONDS_SINCE_EPOCH, "Controller: Last successful Atlassian synchronization"),
ATLASSIAN_ASSETS("atlassian.assets", Unit.ITEM, "Controller: Number of assets in Atlassian"),
ATLASSIAN_SERVICEDESK_CUSTOMERS("atlassian.servicedesk.customers", Unit.ITEM, "Controller: Number of customers in the Atlassian Service Desk"),

// Metrics per API, metrics names generated in ControllerMaintainer/MetricsReporter
OPERATION_APPLICATION("operation.application", Unit.REQUEST, "Controller: Requests for /application API"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ private static Set<Metric> getControllerMetrics() {
addMetric(metrics, ControllerMetrics.ATLASSIAN_EXCEPTIONS.count());
addMetric(metrics, ControllerMetrics.ATLASSIAN_LAST_SUCCESS.last());
addMetric(metrics, ControllerMetrics.ATLASSIAN_ASSETS.max());
addMetric(metrics, ControllerMetrics.ATLASSIAN_SERVICEDESK_CUSTOMERS.max());

return metrics;
}
Expand Down

0 comments on commit 222cb4f

Please sign in to comment.