Skip to content

Commit 866ff52

Browse files
Update header names
1 parent 2384c38 commit 866ff52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/containers/prometheus-metrics-scrape-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ Scraping targets using basic auth is currently not supported using pod/service m
497497

498498
---
499499

500-
If you are using both basic auth and tls auth, please refer to the [section](#create-secret-using-yaml-for-both-basic-and-tls-auth) below.
501-
For more details, refer to the [note section](#note-for-both-basic-and-tls-authentication) below.
500+
If you are using both basic auth and tls auth, please refer to the [section](#basic-auth-and-tls) below.
501+
For more details, refer to the [note section](#note) below.
502502

503503

504504
### TLS based scraping
@@ -562,7 +562,7 @@ Please follow the below steps.
562562
---
563563

564564

565-
### Create secret using YAML for both basic and Tls auth
565+
### Basic Auth and TLS
566566

567567
If you want to use both basic and Tls authentication settings in your configmap/CRD, just make sure that the secret **ama-metrics-mtls-secret** includes all the files(keys) under the data section with their corresponding base 64 encoded values, as shown below.
568568

@@ -580,7 +580,7 @@ Please follow the below steps.
580580
password2: base64-encoded-string # used for basic auth
581581
```
582582

583-
### Note for both Basic and TLS authentication
583+
### Note
584584
> [!NOTE]
585585
>
586586
> The **/etc/prometheus/certs/** path is mandatory, but *password1* can be any string and needs to match the key for the data in the secret created above. This is because the secret **ama-metrics-mtls-secret** is mounted in the path **/etc/prometheus/certs/** within the container.

0 commit comments

Comments
 (0)