# Prometheus server

**URL:** https://discuss.prometheus.io/c/prometheus/7.md?page=3

[Latest](https://discuss.prometheus.io/latest.md) · [Categories](https://discuss.prometheus.io/categories.md)

**Page:** 4

---

## [Can Prometheus be used to login to a website?](https://discuss.prometheus.io/t/can-prometheus-be-used-to-login-to-a-website/1560)

<div class="topic-metadata">

**Author:** [@suresh0512](https://discuss.prometheus.io/u/suresh0512)\
**Replies:** 1\
**Last updated:** [April 4, 2023, 6:34am UTC](https://discuss.prometheus.io/t/can-prometheus-be-used-to-login-to-a-website/1560 "2023-04-04T06:34:48Z")

</div>

Hi team - is there anyway to configure prometheus to login to a website? when we try to Probe a URL which has login page , can we make the prometheus to enter the credentials ?

---

## [Federation as a way to "group" metrics and expose 1 interface instead of many](https://discuss.prometheus.io/t/federation-as-a-way-to-group-metrics-and-expose-1-interface-instead-of-many/1459)

<div class="topic-metadata">

**Author:** [@horacimacias](https://discuss.prometheus.io/u/horacimacias)\
**Replies:** 1\
**Last updated:** [March 31, 2023, 6:01pm UTC](https://discuss.prometheus.io/t/federation-as-a-way-to-group-metrics-and-expose-1-interface-instead-of-many/1459 "2023-03-31T18:01:25Z")

</div>

I’m considering using Prometheus for monitoring a kubernetes/microservices architecture where the number of nodes/pods varies and Prometheus discovery seems to be a very good fit. External users of my kubernetes cluster…

---

## [How to make a decision to choose most popular remote storage](https://discuss.prometheus.io/t/how-to-make-a-decision-to-choose-most-popular-remote-storage/1522)

<div class="topic-metadata">

**Author:** [@sonujatav](https://discuss.prometheus.io/u/sonujatav)\
**Replies:** 2\
**Last updated:** [March 13, 2023, 6:27am UTC](https://discuss.prometheus.io/t/how-to-make-a-decision-to-choose-most-popular-remote-storage/1522 "2023-03-13T06:27:18Z")

</div>

Hi, I am planning to setup Prometheus monitoring for monitor databases Service. As i want to store the historic metrics also. So can anyone advice me How to make the decisions to choose the popular remote storage? I …

---

## [Connect Kubernetes metrics to Existing Prometheus](https://discuss.prometheus.io/t/connect-kubernetes-metrics-to-existing-prometheus/1512)

<div class="topic-metadata">

**Author:** [@eliassal](https://discuss.prometheus.io/u/eliassal)\
**Replies:** 9\
**Last updated:** [March 10, 2023, 7:04pm UTC](https://discuss.prometheus.io/t/connect-kubernetes-metrics-to-existing-prometheus/1512 "2023-03-10T19:04:48Z")

</div>

Hi, I have Prometheus server up and running and gather metrics from different linux and windows server. I recently created a 3 ubuntu nodes K8S cluster and would like to know if there is a way/exporter rom K8S to my pr…

---

## [Add more static instance labels in prometheus config](https://discuss.prometheus.io/t/add-more-static-instance-labels-in-prometheus-config/1524)

<div class="topic-metadata">

**Author:** [@kambrium](https://discuss.prometheus.io/u/kambrium)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 3:21pm UTC](https://discuss.prometheus.io/t/add-more-static-instance-labels-in-prometheus-config/1524 "2023-03-10T15:21:28Z")

</div>

I’m adding serves to my prometheus config like this: - job\_name: cluster1 static\_configs: - targets: - server1.example.com - server2.example.com - server3.example.com but now I would…

---

## [Prometheus and alertmanager basic auth](https://discuss.prometheus.io/t/prometheus-and-alertmanager-basic-auth/1508)

<div class="topic-metadata">

**Author:** [@sligade](https://discuss.prometheus.io/u/sligade)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 3:19pm UTC](https://discuss.prometheus.io/t/prometheus-and-alertmanager-basic-auth/1508 "2023-03-07T15:19:49Z")

</div>

Hello, I was able to setup basic auth on prometheus and alertmanager. It is now asking me un/pwd when i hit 9090 and 9093 web UI As far as alerting section in the prometheus.yml i am having issues. I tried to add ba…

---

## [Prometheus metrics for owner of namespace](https://discuss.prometheus.io/t/prometheus-metrics-for-owner-of-namespace/1507)

<div class="topic-metadata">

**Author:** [@saiben10](https://discuss.prometheus.io/u/saiben10)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 1:03pm UTC](https://discuss.prometheus.io/t/prometheus-metrics-for-owner-of-namespace/1507 "2023-03-07T13:03:25Z")

</div>

Hello, how can i get the owner of namespace in prometheus using metrics here i need if something goes down which belongs to that namepspace i need to create an alert for that particulat of namespace. can you please gu…

---

## [If some data is missed when service unavailable. then How we can push missed data into prometheus](https://discuss.prometheus.io/t/if-some-data-is-missed-when-service-unavailable-then-how-we-can-push-missed-data-into-prometheus/1506)

<div class="topic-metadata">

**Author:** [@CHAMANS](https://discuss.prometheus.io/u/CHAMANS)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 6:02am UTC](https://discuss.prometheus.io/t/if-some-data-is-missed-when-service-unavailable-then-how-we-can-push-missed-data-into-prometheus/1506 "2023-03-06T06:02:06Z")

</div>

How we can push previous data into Prometheus if some data is missed when service unavailable. My service is unavailable yesterday at 6 AM to 8 AM. But i got data from another server then How to push those data into Prom…

---

## [Get "http://xx.xx.xx.xx:11200/metrics": context deadline exceeded](https://discuss.prometheus.io/t/get-http-xx-xx-xx-xx-11200-metrics-context-deadline-exceeded/1468)

<div class="topic-metadata">

**Author:** [@Santhakumar](https://discuss.prometheus.io/u/Santhakumar)\
**Replies:** 4\
**Last updated:** [February 18, 2023, 8:55am UTC](https://discuss.prometheus.io/t/get-http-xx-xx-xx-xx-11200-metrics-context-deadline-exceeded/1468 "2023-02-18T08:55:34Z")

</div>

Hello Team, when target server goes down prometheus doesn’t send alert and its always in pending state below is the error we are getting from logs as well as target in gui Get “http://xx.xx.xx.xx:11300/metrics”: conte…

---

## [Remote read only](https://discuss.prometheus.io/t/remote-read-only/1497)

<div class="topic-metadata">

**Author:** [@ocfmatt](https://discuss.prometheus.io/u/ocfmatt)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 11:33am UTC](https://discuss.prometheus.io/t/remote-read-only/1497 "2023-02-28T11:33:01Z")

</div>

Hello, I have a Prometheus instance using remote\_read/remote\_write to InfluxDB 1.8 for TSDB and Grafana for visualisation. I have a set of requirements where data needs to be down sampled for long term storage. I can vi…

---

## [Building Phometheus from source results in new binary checksum every time](https://discuss.prometheus.io/t/building-phometheus-from-source-results-in-new-binary-checksum-every-time/1495)

<div class="topic-metadata">

**Author:** [@petrastegaev](https://discuss.prometheus.io/u/petrastegaev)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 11:09am UTC](https://discuss.prometheus.io/t/building-phometheus-from-source-results-in-new-binary-checksum-every-time/1495 "2023-02-28T11:09:55Z")

</div>

Hi! Due to strict security rules we are forced to build Prometheus from scratch, then our security team build it from scratch once more and checksums should be equal. But every time we build Prometheus from source we ge…

---

## [Scraping from rabbitmq](https://discuss.prometheus.io/t/scraping-from-rabbitmq/1489)

<div class="topic-metadata">

**Author:** [@bill](https://discuss.prometheus.io/u/bill)\
**Replies:** 2\
**Last updated:** [February 27, 2023, 8:44pm UTC](https://discuss.prometheus.io/t/scraping-from-rabbitmq/1489 "2023-02-27T20:44:55Z")

</div>

I’m trying to scrape the metrics from rabbitmq. I defined the service monitor as shown below, but prom-operator isn’t picking it up. Do I have to restart prometheus to pick up the change? apiVersion: monitoring.coreos…

---

## [Error 401 Unauthorized call https://MyNodeIP:10250/metrics using Prometheus to monitor kubernetes](https://discuss.prometheus.io/t/error-401-unauthorized-call-https-mynodeip-10250-metrics-using-prometheus-to-monitor-kubernetes/1484)

<div class="topic-metadata">

**Author:** [@lucaamato](https://discuss.prometheus.io/u/lucaamato)\
**Replies:** 0\
**Last updated:** [February 22, 2023, 10:27pm UTC](https://discuss.prometheus.io/t/error-401-unauthorized-call-https-mynodeip-10250-metrics-using-prometheus-to-monitor-kubernetes/1484 "2023-02-22T22:27:27Z")

</div>

I configure Prometheus to monitor all the node using kubelet metrics inside my OpenShift cluster in the following way: I configure a cluster role using this yaml file apiVersion: rbac.authorization.k8s.io/v1 kind: Clus…

---

## [Prometheus-alert](https://discuss.prometheus.io/t/prometheus-alert/1473)

<div class="topic-metadata">

**Author:** [@saiben10](https://discuss.prometheus.io/u/saiben10)\
**Replies:** 0\
**Last updated:** [February 20, 2023, 8:50am UTC](https://discuss.prometheus.io/t/prometheus-alert/1473 "2023-02-20T08:50:46Z")

</div>

i have configured the alert rules in prometheus.yaml rules.yaml part name: pod alert rules: alert: pod\_status expr: min\_over\_time(sum by (deployment,namespace,pod) (kube\_pod\_status\_phase{phase=“Failed”})\[10m:1m\]) \> …

---

## [One cluster with Prometheus to scrape multiple clusters](https://discuss.prometheus.io/t/one-cluster-with-prometheus-to-scrape-multiple-clusters/1365)

<div class="topic-metadata">

**Author:** [@secilay](https://discuss.prometheus.io/u/secilay)\
**Replies:** 4\
**Last updated:** [February 15, 2023, 7:42am UTC](https://discuss.prometheus.io/t/one-cluster-with-prometheus-to-scrape-multiple-clusters/1365 "2023-02-15T07:42:04Z")

</div>

Hi all, we are trying to monitor multiple clusters with one prometheus server but we could not figure out how can it be done. We have find an article about this but it does not describe how this can be managed. Multip…

---

## [Prometheus alerts-manager](https://discuss.prometheus.io/t/prometheus-alerts-manager/1450)

<div class="topic-metadata">

**Author:** [@saiben10](https://discuss.prometheus.io/u/saiben10)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 12:30pm UTC](https://discuss.prometheus.io/t/prometheus-alerts-manager/1450 "2023-02-13T12:30:31Z")

</div>

Hello, i have installed prometheus using helm charts in the k8s cluster , now i want to confugure alerts for the metrics the prometheus helmcharts consists of prometheus, node-exporter, alert-manager. Now i need to cre…

---

## [Adjust retention time](https://discuss.prometheus.io/t/adjust-retention-time/1427)

<div class="topic-metadata">

**Author:** [@aloysioc](https://discuss.prometheus.io/u/aloysioc)\
**Replies:** 6\
**Last updated:** [February 7, 2023, 1:33pm UTC](https://discuss.prometheus.io/t/adjust-retention-time/1427 "2023-02-07T13:33:19Z")

</div>

Hey guys. When I changed the “–storage.tsdb.retention.time” parameter to 180d, I noticed that my history was lost, so I went back to default to view my data history again. We have Prometheus in a docker container and t…

---

## [Prometheus implemetation](https://discuss.prometheus.io/t/prometheus-implemetation/1419)

<div class="topic-metadata">

**Author:** [@saiben10](https://discuss.prometheus.io/u/saiben10)\
**Replies:** 0\
**Last updated:** [January 25, 2023, 1:16pm UTC](https://discuss.prometheus.io/t/prometheus-implemetation/1419 "2023-01-25T13:16:39Z")

</div>

how to implement prometheus to get the cluster metrics and creating alerts for it? i am not getting the solution. I have installed using loki-stack but i am unable to get the metrics. what might be the issue.

---

## [Change PVC access mode for Prometheus/Alertmanager](https://discuss.prometheus.io/t/change-pvc-access-mode-for-prometheus-alertmanager/1400)

<div class="topic-metadata">

**Author:** [@olti](https://discuss.prometheus.io/u/olti)\
**Replies:** 0\
**Last updated:** [January 19, 2023, 10:15am UTC](https://discuss.prometheus.io/t/change-pvc-access-mode-for-prometheus-alertmanager/1400 "2023-01-19T10:15:06Z")

</div>

i am running an AKS cluster and i have deployed Prometheus and Alertmanager via deployment resources in k8s and they also are controlled by replicaset.The issue is that sometimes the restart of Alertmanger get stuck.It i…

---

## [Huge Discrepancy in TSDB Block Disk Usage](https://discuss.prometheus.io/t/huge-discrepancy-in-tsdb-block-disk-usage/1217)

<div class="topic-metadata">

**Author:** [@wbh1](https://discuss.prometheus.io/u/wbh1)\
**Replies:** 1\
**Last updated:** [January 19, 2023, 7:19am UTC](https://discuss.prometheus.io/t/huge-discrepancy-in-tsdb-block-disk-usage/1217 "2023-01-19T07:19:33Z")

</div>

I’m running 2 large Prometheus servers in a datacenter, both scraping the same targets. However, one has blocks that take up significantly more data (~140GB vs 108GB). What could be causing this large discrepancy? It lo…

---

## [Compatiblity with K8s version 1.25](https://discuss.prometheus.io/t/compatiblity-with-k8s-version-1-25/1396)

<div class="topic-metadata">

**Author:** [@padmeshgit](https://discuss.prometheus.io/u/padmeshgit)\
**Replies:** 1\
**Last updated:** [January 17, 2023, 4:20pm UTC](https://discuss.prometheus.io/t/compatiblity-with-k8s-version-1-25/1396 "2023-01-17T16:20:49Z")

</div>

I just want to know whether the Prometheus version 2.40.0 and later versions are compatible with K8s 1.25 or not? Please suggest. prometheus/prometheus: The Prometheus monitoring system and time series database. (github…

---

## [Prometheus is failing frequently](https://discuss.prometheus.io/t/prometheus-is-failing-frequently/1352)

<div class="topic-metadata">

**Author:** [@mouliveera](https://discuss.prometheus.io/u/mouliveera)\
**Replies:** 1\
**Last updated:** [December 15, 2022, 8:47am UTC](https://discuss.prometheus.io/t/prometheus-is-failing-frequently/1352 "2022-12-15T08:47:43Z")

</div>

We have total \> 200 service monitors to scrape metrics from pods and we started observing prometheus pod restarts with below errors. ts=2022-12-14T23:03:00.447Z caller=scrape.go:1292 level=debug component="scrape manage…

---

## [Prometheus not starting without existing query\_log\_file path (prometheus.yml)](https://discuss.prometheus.io/t/prometheus-not-starting-without-existing-query-log-file-path-prometheus-yml/1328)

<div class="topic-metadata">

**Author:** [@mermaid](https://discuss.prometheus.io/u/mermaid)\
**Replies:** 3\
**Last updated:** [December 13, 2022, 3:04pm UTC](https://discuss.prometheus.io/t/prometheus-not-starting-without-existing-query-log-file-path-prometheus-yml/1328 "2022-12-13T15:04:15Z")

</div>

Hi, Prometheus is no starting if the query\_log\_file path (prometheus.yml) doesn\`t exists completely. Prometheus will not start if the specified query\_log\_file path does not fully exist. In my example, the path “C:/User…

---

## [Rentention time not being observed](https://discuss.prometheus.io/t/rentention-time-not-being-observed/1025)

<div class="topic-metadata">

**Author:** [@gregGT](https://discuss.prometheus.io/u/gregGT)\
**Replies:** 15\
**Last updated:** [December 13, 2022, 1:10pm UTC](https://discuss.prometheus.io/t/rentention-time-not-being-observed/1025 "2022-12-13T13:10:04Z")

</div>

Hello, we need to retain data for a long time, and I have added the retention parameter --storage.tsdb.retention.time=2y in the prometheus.service file. And this was working as expected for about four months. Howe…

---

## [Prometheus operator not working properly](https://discuss.prometheus.io/t/prometheus-operator-not-working-properly/1336)

<div class="topic-metadata">

**Author:** [@Radha](https://discuss.prometheus.io/u/Radha)\
**Replies:** 0\
**Last updated:** [December 8, 2022, 12:19pm UTC](https://discuss.prometheus.io/t/prometheus-operator-not-working-properly/1336 "2022-12-08T12:19:30Z")

</div>

Hi Guys, need your help here Prometheus operator is showing the below logs level=warn ts=2022-12-08T10:49:35.67599144Z caller=operator.go:344 component=alertmanageroperator informer=Secret msg=“cache sync not yet compl…

---

## [/api/v1/query values](https://discuss.prometheus.io/t/api-v1-query-values/1320)

<div class="topic-metadata">

**Author:** [@DaTa](https://discuss.prometheus.io/u/DaTa)\
**Replies:** 1\
**Last updated:** [November 25, 2022, 9:24am UTC](https://discuss.prometheus.io/t/api-v1-query-values/1320 "2022-11-25T09:24:18Z")

</div>

https://prometheus.demo.do.prometheus.io/api/v1/query?query=vector(2.2) Why does this return \[1669366576.859,"2.2"\] instead of \[1669366576.859,2.2\] 2.2 is supposed to be a float. That is a bit annoying because I hav…

---

## [Expression that doesn't work](https://discuss.prometheus.io/t/expression-that-doesnt-work/1279)

<div class="topic-metadata">

**Author:** [@slack](https://discuss.prometheus.io/u/slack)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 1:07pm UTC](https://discuss.prometheus.io/t/expression-that-doesnt-work/1279 "2022-11-08T13:07:43Z")

</div>

Hi community, I have a prometheus server that is scrapping all the instances from my cloud and also all the pods from the k8s cluster but I’need to exclude kubernetes-pods job from the scrapping but I cannot rid of them…

---

## [Prometheus alert rule doesn't honor changed FOR clause](https://discuss.prometheus.io/t/prometheus-alert-rule-doesnt-honor-changed-for-clause/1268)

<div class="topic-metadata">

**Author:** [@civa](https://discuss.prometheus.io/u/civa)\
**Replies:** 5\
**Last updated:** [November 8, 2022, 10:35am UTC](https://discuss.prometheus.io/t/prometheus-alert-rule-doesnt-honor-changed-for-clause/1268 "2022-11-08T10:35:18Z")

</div>

Hi all, I have a simple alert rule for my certificate expiration which goes like this (metrics come from telegraf): groups: - name: ssl-alerts rules: - alert: cert\_expiry\_critical expr: x509\_cert\_e…

---

## [Context Deadline Exceeded](https://discuss.prometheus.io/t/context-deadline-exceeded/1250)

<div class="topic-metadata">

**Author:** [@rp\_admin](https://discuss.prometheus.io/u/rp_admin)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 2:28pm UTC](https://discuss.prometheus.io/t/context-deadline-exceeded/1250 "2022-10-19T14:28:21Z")

</div>

I am new to Prometheus and have just setup the server in a Windows 2019 server and attempting to monitor itself first before deploying to any other client servers. However, I receive a Context Deadline exceeded message …

---

## [Multiple eks cluster monitoring through prometheus](https://discuss.prometheus.io/t/multiple-eks-cluster-monitoring-through-prometheus/1219)

<div class="topic-metadata">

**Author:** [@Sumitpalucc](https://discuss.prometheus.io/u/Sumitpalucc)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 11:42am UTC](https://discuss.prometheus.io/t/multiple-eks-cluster-monitoring-through-prometheus/1219 "2022-09-28T11:42:17Z")

</div>

I want to monitor multiple EKS clusters with the help of prometheus.

[Previous page](https://discuss.prometheus.io/c/prometheus/7.md?page=2)

[Next page](https://discuss.prometheus.io/c/prometheus/7.md?page=4)
