How Prometheus gets metrics data? is it Pulled by Prometheus or Promitor pushes it? #1874
Answered
by
tomkerkhove
testskills
asked this question in
Q&A
-
Apology for basic question. But I do see 2 configurations. Which exact configuration is responsible for getting scraped metrics data into Prometheus. Prometheus: - job_name: promitor-agent-scraper
metrics_path: /metrics
static_configs:
- targets:
- promitor-agent-scraper.default.svc.cluster.local:8888 Promitor-scraper: metricSinks:
prometheusScrapingEndpoint:
metricUnavailableValue: "NaN"
enableMetricTimestamps: "true"
baseUriPath: "/metrics"
labels:
transformation: "None" |
Beta Was this translation helpful? Give feedback.
Answered by
tomkerkhove
Dec 3, 2021
Replies: 1 comment 7 replies
-
Prometheus is in charge of pulling. The configuration in Promitor is simply to expose an endpoint that can be scraped, hence why the configuration is called |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
tomkerkhove
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prometheus is in charge of pulling. The configuration in Promitor is simply to expose an endpoint that can be scraped, hence why the configuration is called
prometheusScrapingEndpoint
.