![]() The -web.external-url= flag is optional here. ![]() To make Prometheus use this config, you will need to call it with the flag tls_server_config:Ĭert_file: /home/prometheus/certs// With this configuration, Prometheus will serve all its endpoints behind TLS. Prometheus configurationīelow is an example web-config.yml configuration file. You can generate a self-signed certificate and private key using this command: mkdir -p /home/prometheus/certs/ & cd /home/prometheus/certs/certs/įill out the appropriate information at the prompts, and make sure to enter at the Common Name prompt. an SSL key at /home/prometheus/certs//.an SSL certificate at /home/prometheus/certs//.Let's also say that you've generated the following using OpenSSL or an analogous tool: Let's say that you want to run a Prometheus instance served with TLS, available at the domain (which you own). We will not cover the initial Prometheus setup in this guide. ![]() Let's say that you already have a Prometheus instance up and running, and you TLS is also supported for connections from Prometheus instances to scrape targets. NOTE: This guide is about TLS connections to Prometheus instances. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |