mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
03995775a7
* Allow UTF-8 characters in metric and label names as opt-in feature --------- Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
32 lines
872 B
YAML
32 lines
872 B
YAML
# my global config
|
|
global:
|
|
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
|
|
|
|
otlp:
|
|
# Recommended attributes to be promoted to labels.
|
|
promote_resource_attributes:
|
|
- service.instance.id
|
|
- service.name
|
|
- service.namespace
|
|
- cloud.availability_zone
|
|
- cloud.region
|
|
- container.name
|
|
- deployment.environment.name
|
|
- k8s.cluster.name
|
|
- k8s.container.name
|
|
- k8s.cronjob.name
|
|
- k8s.daemonset.name
|
|
- k8s.deployment.name
|
|
- k8s.job.name
|
|
- k8s.namespace.name
|
|
- k8s.pod.name
|
|
- k8s.replicaset.name
|
|
- k8s.statefulset.name
|
|
# Ingest OTLP data keeping UTF-8 characters in metric/label names.
|
|
translation_strategy: NoUTF8EscapingWithSuffixes
|
|
|
|
storage:
|
|
# OTLP is a push-based protocol, Out of order samples is a common scenario.
|
|
tsdb:
|
|
out_of_order_time_window: 30m
|