Log based distribution metric counts each event 10 times
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- gcp, go, prometheus
- Área
- cloud, observability-sre
Línea de trabajo
Comienza con el manejo de las métricas de distribución en stackdriver_exporter 0.16.0, especialmente con las configuraciones aggregateDeltas y aggregateDeltasTTL mostradas en la configuración de Helm. Reproduce la discrepancia comparando el distribution _count de Google Cloud con el valor de Prometheus exportado después de activar eventos individuales. Se considera terminado cuando cada evento incrementa el contador exportado en uno en lugar de diez.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
In our project we noticed a peculiar discrepancy between the distribution metric values as reported by Google Cloud itself, and as exported into Prometheus by stackdriver_exporter. Upon further investigation, we could narrow down the misbehavior to what I stated in the title: each event is seemingly counted exactly 10 times, blowing up the metric values to 10x the correct value
We triggered three events after another. In Google Cloud, the _count metric correctly jumps to 1 for each event as they come in:
In Prometheus, using stackdriver_exporter, the _count metric incorrectly jumps to 10 for each event as they come in:
Later, we also tried triggering the same request twice and indeed, the stackdriver_exporter metric value increased first to 10, then to 20:
We set up stackdriver_exporter via Helm, using prometheus-stackdriver-exporter 4.6.2, corresponding to stackdriver_exporter 0.16.0
Out stackdriver_exporter (Helm) configuration:
prometheus-stackdriver-exporter:
nameOverride: 'gcloud-metrics-exporter'
fullnameOverride: 'gcloud-metrics-exporter'
stackdriver:
projectId: [redacted]
serviceAccountKey: [redacted]
metrics:
typePrefixes: [redacted]
# Workaround needed for accurate histogram metrics
# https://github.com/prometheus-community/stackdriver_exporter?tab=readme-ov-file#what-to-know-about-aggregating-delta-metrics
aggregateDeltas: true
aggregateDeltasTTL: '30m' # default value from https://github.com/prometheus-community/helm-charts/blob/f2aeaf773cd22ae2bffb7ec846b06eadf4169387/charts/prometheus-stackdriver-exporter/values.yaml#L88 for lack of better judgment
serviceMonitor:
enabled: true
namespace: monitoring
- Lenguaje dominante
- Go
- Estrellas
- 299
- Forks
- 119
- Merge medio
- 4 d 8 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de prometheus-community/stackdriver_exporter
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
prometheus-community/stackdriver_exporter#563 · 3 reacciones ·
Los mantenedores suelen responder en 2 días
-
Unbounded concurrent Monitoring API requests exhaust memory and OOM-kill the containerPosiblemente ocupada @ntmspavan la tomó hace 83 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
prometheus-community/stackdriver_exporter#537 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
prometheus-community/stackdriver_exporter#478 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
prometheus-community/stackdriver_exporter#476 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
prometheus-community/stackdriver_exporter#470 ·
Los mantenedores suelen responder en 2 días
Todos los issues de prometheus-community/stackdriver_exporter
Issues similares
-
Object Manager 1.13 resets a vCLU after sending a projectPosiblemente ocupada @tciunelis la tomó hoy. Abiertobug ready ticket
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Domktorymysli/vclu#152 ·
Los mantenedores suelen responder en 1 día
-
bug converter
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
grafana/sigma-rule-deployment#435 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
🤖 verification skills: harden check.sh and verify.sh argument and file handling (#391 follow-ups)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
google/go-containerregistry#2491 ·
Los mantenedores suelen responder en 1 día