# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default
is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is
every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global
'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries
scraped from this config.
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- job_name:'product'
static_configs:
- targets: ['localhost:4437']
metrics_path: '/metrics-text'
On Sunday, October 4, 2020 at 9:29:53 PM UTC+5:30 Dashrath yadav wrote:
> Error:context dealine exceeded cant detect host
> I increased scrap timeout
>
> On Sunday, October 4, 2020 at 5:57:00 PM UTC+5:30 Dashrath yadav wrote:
>
>> I am trying to call .net api in grafana for that i am using metrics
>> To ist export it into prometheus thn to grafan
>> But when i do confugration in yml file nd add host and save
>> And then again start server it closes automatically
>> not able to sort out issue
>> Using Window platform
>> Help me to resolve this issue
>>
>
--
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/f69c6707-6995-4c2a-8867-8db271042c41n%40googlegroups.com.