2022-06-27 06:02:21 +00:00
|
|
|
documentation: docs/generated/metrics
|
|
|
|
destination: pkg/generated/metric_descriptions
|
|
|
|
namespaces:
|
2024-09-19 09:04:06 +00:00
|
|
|
arangodb_resources:
|
|
|
|
deployment_config_map:
|
|
|
|
inspected:
|
|
|
|
shortDescription: "Number of inspected ConfigMaps by Deployment"
|
|
|
|
description: "Number of inspected ConfigMaps by Deployment"
|
|
|
|
type: "Counter"
|
|
|
|
global: true
|
|
|
|
labels:
|
|
|
|
- key: deployment
|
|
|
|
description: "Deployment Name"
|
|
|
|
duration:
|
|
|
|
shortDescription: "Duration of inspected ConfigMaps by Deployment in seconds"
|
|
|
|
description: "Duration of inspected ConfigMaps by Deployment in seconds"
|
|
|
|
type: "Gauge"
|
|
|
|
global: true
|
|
|
|
labels:
|
|
|
|
- key: deployment
|
|
|
|
description: "Deployment Name"
|
|
|
|
arangodb_operator:
|
2024-05-21 12:09:50 +00:00
|
|
|
objects:
|
|
|
|
processed:
|
|
|
|
shortDescription: "Number of the processed objects"
|
|
|
|
description: "Number of the processed objects"
|
|
|
|
type: "Counter"
|
|
|
|
global: true
|
|
|
|
labels:
|
|
|
|
- key: operator_name
|
|
|
|
description: "Operator Name"
|
2022-06-27 08:00:01 +00:00
|
|
|
agency_cache:
|
|
|
|
present:
|
|
|
|
shortDescription: "Determines if local agency cache is present"
|
|
|
|
description: "Determines if local agency cache is present"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
health_present:
|
|
|
|
shortDescription: "Determines if local agency cache health is present"
|
|
|
|
description: "Determines if local agency cache health is present"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
serving:
|
|
|
|
shortDescription: "Determines if agency is serving"
|
|
|
|
description: "Determines if agency is serving"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
healthy:
|
|
|
|
shortDescription: "Determines if agency is healthy"
|
|
|
|
description: "Determines if agency is healthy"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
member_serving:
|
|
|
|
shortDescription: "Determines if agency member is reachable"
|
|
|
|
description: "Determines if agency member is reachable"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: agent
|
|
|
|
description: "Agent ID"
|
|
|
|
member_commit_offset:
|
|
|
|
shortDescription: "Determines agency member commit offset"
|
|
|
|
description: "Determines agency member commit offset. Set to -1 if Agent is not reachable"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: agent
|
|
|
|
description: "Agent ID"
|
|
|
|
leaders:
|
|
|
|
shortDescription: "Determines agency leader vote count"
|
|
|
|
description: "Determines agency leader vote count. Should be always one"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: agent
|
|
|
|
description: "Agent ID"
|
2022-06-27 06:02:21 +00:00
|
|
|
agency:
|
|
|
|
index:
|
|
|
|
shortDescription: "Current index of the agency cache"
|
|
|
|
description: "Current index of the agency cache"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
fetches:
|
|
|
|
shortDescription: "Current count of agency cache fetches"
|
|
|
|
description: "Current count of agency cache fetches"
|
2022-06-30 21:34:34 +00:00
|
|
|
type: "Counter"
|
2022-06-27 06:02:21 +00:00
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
errors:
|
|
|
|
shortDescription: "Current count of agency cache fetch errors"
|
|
|
|
description: "Current count of agency cache fetch errors"
|
2022-06-30 21:34:34 +00:00
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
rebalancer:
|
|
|
|
enabled:
|
|
|
|
shortDescription: "Determines if rebalancer is enabled"
|
|
|
|
description: "Determines if rebalancer is enabled"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
moves_generated:
|
|
|
|
shortDescription: "Define how many moves were generated"
|
|
|
|
description: "Define how many moves were generated"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
moves_succeeded:
|
|
|
|
shortDescription: "Define how many moves succeeded"
|
|
|
|
description: "Define how many moves succeeded"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
moves_failed:
|
|
|
|
shortDescription: "Define how many moves failed"
|
|
|
|
description: "Define how many moves failed"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
moves_current:
|
|
|
|
shortDescription: "Define how many moves are currently in progress"
|
|
|
|
description: "Define how many moves are currently in progress"
|
|
|
|
type: "Gauge"
|
2022-06-27 06:02:21 +00:00
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
2022-07-07 12:09:17 +00:00
|
|
|
description: "Deployment Name"
|
2022-08-25 11:44:28 +00:00
|
|
|
resources:
|
2022-09-13 10:52:28 +00:00
|
|
|
arangodeployment_status_restores:
|
|
|
|
shortDescription: "Counter for deployment status restored"
|
|
|
|
description: "Counter for deployment status restored"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
2022-08-25 11:44:28 +00:00
|
|
|
arangodeployment_validation_errors:
|
|
|
|
shortDescription: "Counter for deployment validation errors"
|
|
|
|
description: "Counter for deployment validation errors"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
arangodeployment_immutable_errors:
|
|
|
|
shortDescription: "Counter for deployment immutable errors"
|
|
|
|
description: "Counter for deployment immutable errors"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
arangodeployment_accepted:
|
|
|
|
shortDescription: "Defines if ArangoDeployment has been accepted"
|
|
|
|
description: "Defines if ArangoDeployment has been accepted"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
2022-12-19 11:53:42 +00:00
|
|
|
description: "Deployment Name"
|
|
|
|
arangodeployment_propagated:
|
|
|
|
shortDescription: "Defines if ArangoDeployment Spec is propagated"
|
|
|
|
description: "Defines if ArangoDeployment Spec is propagated"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
2022-08-25 11:44:28 +00:00
|
|
|
description: "Deployment Name"
|
|
|
|
arangodeployment_uptodate:
|
|
|
|
shortDescription: "Defines if ArangoDeployment is uptodate"
|
|
|
|
description: "Defines if ArangoDeployment is uptodate"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
2023-09-13 07:44:44 +00:00
|
|
|
arangodeploymentreplication_active:
|
|
|
|
shortDescription: "Defines if ArangoDeploymentReplication is configured and running"
|
|
|
|
description: "Defines if ArangoDeploymentReplication is configured and running"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "DeploymentReplication Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "DeploymentReplication Name"
|
|
|
|
arangodeploymentreplication_failed:
|
|
|
|
shortDescription: "Defines if ArangoDeploymentReplication is in Failed phase"
|
|
|
|
description: "Defines if ArangoDeploymentReplication is in Failed phase"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "DeploymentReplication Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "DeploymentReplication Name"
|
2024-03-05 14:52:02 +00:00
|
|
|
deployment:
|
|
|
|
conditions:
|
|
|
|
shortDescription: "Representation of the ArangoDeployment condition state (true/false)"
|
|
|
|
description: "Representation of the ArangoDeployment condition state (true/false)"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: condition
|
|
|
|
description: "Condition Name"
|
2022-07-07 12:09:17 +00:00
|
|
|
members:
|
|
|
|
unexpected_container_exit_codes:
|
|
|
|
shortDescription: "Counter of unexpected restarts in pod (Containers/InitContainers/EphemeralContainers)"
|
|
|
|
description: "Counter of unexpected restarts in pod (Containers/InitContainers/EphemeralContainers)"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: member
|
|
|
|
description: "Member ID"
|
|
|
|
- key: container
|
|
|
|
description: "Container Name"
|
|
|
|
- key: container_type
|
|
|
|
description: "Container/InitContainer/EphemeralContainer"
|
|
|
|
- key: code
|
2022-07-11 15:16:39 +00:00
|
|
|
description: "ExitCode"
|
2023-05-08 10:18:45 +00:00
|
|
|
- key: reason
|
|
|
|
description: "Reason"
|
2024-03-05 14:52:02 +00:00
|
|
|
conditions:
|
|
|
|
shortDescription: "Representation of the ArangoMember condition state (true/false)"
|
|
|
|
description: "Representation of the ArangoMember condition state (true/false)"
|
|
|
|
type: "Gauge"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
- key: member
|
|
|
|
description: "Member ID"
|
|
|
|
- key: condition
|
|
|
|
description: "Condition Name"
|
2022-07-11 15:16:39 +00:00
|
|
|
engine:
|
|
|
|
panics_recovered:
|
|
|
|
shortDescription: "Number of Panics recovered inside Operator reconciliation loop"
|
|
|
|
description: "Number of Panics recovered inside Operator reconciliation loop. Section represents recovery section"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: section
|
|
|
|
description: "Panic Section"
|
2023-08-17 10:39:14 +00:00
|
|
|
assertions:
|
|
|
|
shortDescription: "Number of assertions invoked during Operator runtime"
|
|
|
|
description: "Number of assertions invoked during Operator runtime"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: key
|
|
|
|
description: "Assertion Key"
|
|
|
|
alertingRules:
|
|
|
|
- priority: Warning
|
|
|
|
query: irate(arangodb_operator_engine_assertions[1m]) > 1
|
|
|
|
description: "Trigger an alert if OPS attention is needed"
|
2022-09-22 09:07:39 +00:00
|
|
|
ops_alerts:
|
|
|
|
shortDescription: "Counter for actions which requires ops attention"
|
|
|
|
description: "Counter for actions which requires ops attention"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: namespace
|
|
|
|
description: "Deployment Namespace"
|
|
|
|
- key: name
|
|
|
|
description: "Deployment Name"
|
|
|
|
alertingRules:
|
|
|
|
- priority: Warning
|
|
|
|
query: irate(arangodb_operator_engine_ops_alerts[1m]) > 1
|
|
|
|
description: "Trigger an alert if OPS attention is needed"
|
2023-01-26 17:12:33 +00:00
|
|
|
kubernetes_client:
|
|
|
|
requests:
|
|
|
|
shortDescription: "Number of Kubernetes Client requests"
|
|
|
|
description: "Number of Kubernetes Client requests"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: component
|
|
|
|
description: "K8S Resource name"
|
|
|
|
- key: verb
|
|
|
|
description: "Verb (create,update,update-status,patch,delete,force-delete)"
|
|
|
|
request_errors:
|
|
|
|
shortDescription: "Number of Kubernetes Client request errors"
|
|
|
|
description: "Number of Kubernetes Client request errors"
|
|
|
|
type: "Counter"
|
|
|
|
labels:
|
|
|
|
- key: component
|
|
|
|
description: "K8S Resource name"
|
|
|
|
- key: verb
|
|
|
|
description: "Verb (create,update,update-status,patch,delete,force-delete)"
|