Metrics shown as being retrieved but can't be queried
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- go, google-cloud, prometheus
- Ambito
- cloud, observability
Direzione di ricerca
Inizia riproducendo il comando dell’exporter mostrato e interrogando l’endpoint /metrics. Segui il flusso di recupero dei descrittori e delle metriche in monitoring_collector.go, concentrandoti sulle righe registrate intorno a 285, 315, 383 e 398. Il lavoro è completato quando la metrica cloud_netslo/active_probing/probe_count è esposta e recuperabile da /metrics.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Here's how I run the stackdriver_exporter with debug output:
./stackdriver_exporter --log.level=debug --google.project-ids=my-project --monitoring.metrics-prefixes='networking.googleapis.com/cloud_netslo' --monitoring.drop-delegated-projects --monitoring.filters='networking.googleapis.com/cloud_netslo'
time=2025-05-06T19:25:52.778Z level=INFO source=stackdriver_exporter.go:366 msg="Starting stackdriver_exporter" version="(version=0.18.0, branch=HEAD, revision=3b1a6e9ebb85a176b8ab48639f8e0a2a4a2f7bcf)" build_context="(go=go1.23.5, platform=linux/amd64, user=root@34d306216a55, date=20250117-20:46:30, tags=unknown)" metric_prefixes=[networking.googleapis.com/cloud_netslo] extra_filters=networking.googleapis.com/cloud_netslo projectIDs=[my-project] projectsFilter=""
time=2025-05-06T19:25:52.778Z level=INFO source=stackdriver_exporter.go:219 msg="Creating collector cache" ttl=2h0m0s
time=2025-05-06T19:25:52.778Z level=INFO source=tls_config.go:347 msg="Listening on" address=[::]:9255
time=2025-05-06T19:25:52.778Z level=INFO source=tls_config.go:350 msg="TLS is disabled." http2=false address=[::]:9255
time=2025-05-06T19:26:01.579Z level=DEBUG source=monitoring_collector.go:383 msg="listing Google Stackdriver Monitoring metric descriptors starting with" project_id=my-project prefix=networking.googleapis.com/cloud_netslo
time=2025-05-06T19:26:01.844Z level=DEBUG source=monitoring_collector.go:285 msg="retrieving Google Stackdriver Monitoring metrics for descriptor" project_id=my-project descriptor=networking.googleapis.com/cloud_netslo/active_probing/probe_count
time=2025-05-06T19:26:01.844Z level=DEBUG source=monitoring_collector.go:315 msg="retrieving Google Stackdriver Monitoring metrics with filter" project_id=my-project filter="project="my-project" AND metric.type="networking.googleapis.com/cloud_netslo/active_probing/probe_count""
time=2025-05-06T19:26:02.071Z level=DEBUG source=monitoring_collector.go:398 msg="Done reporting monitoring metrics" project_id=my-project
time=2025-05-06T19:30:18.083Z level=DEBUG source=monitoring_collector.go:383 msg="listing Google Stackdriver Monitoring metric descriptors starting with" project_id=my-project prefix=networking.googleapis.com/cloud_netslo
time=2025-05-06T19:30:18.148Z level=DEBUG source=monitoring_collector.go:285 msg="retrieving Google Stackdriver Monitoring metrics for descriptor" project_id=my-project descriptor=networking.googleapis.com/cloud_netslo/active_probing/probe_count
time=2025-05-06T19:30:18.148Z level=DEBUG source=monitoring_collector.go:315 msg="retrieving Google Stackdriver Monitoring metrics with filter" project_id=my-project filter="project="my-project" AND metric.type="networking.googleapis.com/cloud_netslo/active_probing/probe_count""
time=2025-05-06T19:30:18.360Z level=DEBUG source=monitoring_collector.go:398 msg="Done reporting monitoring metrics" project_id=my-project
time=2025-05-06T19:31:07.423Z level=DEBUG source=monitoring_collector.go:383 msg="listing Google Stackdriver Monitoring metric descriptors starting with" project_id=my-project prefix=networking.googleapis.com/cloud_netslo
time=2025-05-06T19:31:07.468Z level=DEBUG source=monitoring_collector.go:285 msg="retrieving Google Stackdriver Monitoring metrics for descriptor" project_id=my-project descriptor=networking.googleapis.com/cloud_netslo/active_probing/probe_count
time=2025-05-06T19:31:07.468Z level=DEBUG source=monitoring_collector.go:315 msg="retrieving Google Stackdriver Monitoring metrics with filter" project_id=my-project filter="project="my-project" AND metric.type="networking.googleapis.com/cloud_netslo/active_probing/probe_count""
time=2025-05-06T19:31:07.682Z level=DEBUG source=monitoring_collector.go:398 msg="Done reporting monitoring metrics" project_id=my-project
Despite the fact that the required metrics (cloud_netslo/active_probing/probe_count) are claimed to be retrieved from GCM as shown in the debug output, they do not appear on the list when '/metrics' is queried, and cannot be retrieved.
- Lingua principale
- Go
- Stelle
- 298
- Fork
- 119
- Merge medio
- 4g 8h
- PR unite (30g)
- 8
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di prometheus-community/stackdriver_exporter
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
prometheus-community/stackdriver_exporter#563 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Unbounded concurrent Monitoring API requests exhaust memory and OOM-kill the containerForse già presa @ntmspavan l’ha presa 81 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
prometheus-community/stackdriver_exporter#537 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
prometheus-community/stackdriver_exporter#478 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
prometheus-community/stackdriver_exporter#476 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
prometheus-community/stackdriver_exporter#470 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di prometheus-community/stackdriver_exporter
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 76/100
superplanehq/superplane#9007 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
yetone/magpie#3905 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno