what i want to implement is to scrape and evaluate one kind of metrics not 
so frequently, I want to adjust the interval to 1d or 2d, something like 
this.

On Friday, August 12, 2022 at 11:06:15 AM UTC+8 nina guo wrote:

> Hi, I received following error.
>
> - job_name: TLS Connection
>         scrape_interval: 1d
>         evaluation_interval: 1d
>         metrics_path: /probe
>         params:
>           module: [smtp_starttls]
>         file_sd_configs:
>         - files:xxx
>
>  kubectl logs prometheus -c prometheus -n monitoring
> level=error ts=2022-08-12T03:03:50.120Z caller=main.go:347 msg="Error 
> loading config (--config.file=/etc/prometheus/prometheus.yml)" err="parsing 
> YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:\n  line 
> 54: field evaluation_interval not found in type config.ScrapeConfig"
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/045485e8-e2a3-438d-af8d-83079fd4cca3n%40googlegroups.com.

Reply via email to