Grafana is not pulling all the targerts inside my job

  • What Grafana version and what operating system are you using?

Grafana version is 10.0.3 and OS is Ubuntu

  • What are you trying to achieve?
    Create alert system for the list of domains under the jobs in prometheus

  • How are you trying to achieve it?
    Add the all the targets in the prometheus job. Then with the help of blackbox exporter collected the SSL expiry date of those domains. Create alert if the days are less than 21

  • What happened?
    If the promethus scraping interval is 10m I can see the list of targets inside the job

  • What did you expect to happen?
    I want the scraping interval should be 1day

  • Can you copy/paste the configuration(s) that you are having problems with?

  • job_name: ‘ssl-certificate’
    sample_limit: 100
    metrics_path: /probe
    params:
    module: [ssl]
    scrape_interval: 1d
    static_configs:
    • targets:
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    AnySnap.app

  • Did you follow any online instructions? If so, what is the URL?

That’s clearly a Prometheus problem (Grafana is not owner of Prometheus).

What you are saying is that it works with 10m interval AND you want it to works for 24h interval. Why is that a problem ?

We want to monitor nearly 80 of our domains for their SSL expiry. If the scraping period is 1d it will be meaning-full rather than 10 min. Also it will reduce the number of requests sent if it is 1 day.

I still don’t understand where is the problem. Can you explain where are you stuck ?