Class: API::Metrics::Dashboard::Annotations

Inherits:
Base
  • Object
show all
Defined in:
lib/api/metrics/dashboard/annotations.rb

Constant Summary collapse

ANNOTATIONS_SOURCES =
[
  { class: ::Environment, resource: :environments, create_service_param_key: :environment },
  { class: ::Clusters::Cluster, resource: :clusters, create_service_param_key: :cluster }
].freeze

Constants included from Gitlab::EndpointAttributes

Gitlab::EndpointAttributes::DEFAULT_URGENCY

Method Summary

Methods inherited from Base

endpoint_id_for_route, feature_category_for_app, path_for_app, route, urgency_for_app