Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this case if you run Prometheus you and choose the System → Targets menu you will see the following message if you choose the System → Targets menu:

As you can see the error is:

...

Code Block
tls_config:
      insecure_skip_verify: true

And you your final config file with would look like this:

Code Block
# 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).



# A scrape configuration containing exactly one endpoint to scrape:
scrape_configs:
  - job_name: 'bitbucket'
    scheme: https #change to http if don't you have https
    metrics_path: '/plugins/servlet/prometheus/metrics'
    static_configs:
    - targets: ['prdt-ae-ec2-bit-dc-elb-53551871.us-west-2.elb.amazonawsyourinstance.com']
    tls_config:
      insecure_skip_verify: true

...