Skip to content

Commit d235f9e

Browse files
authored
Merge pull request #282896 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 085e03c + 4c5a0f2 commit d235f9e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ If you are using `basic_auth` setting in your prometheus configuration, please f
482482

483483
1. Create a secret in the **kube-system** namespace named **ama-metrics-mtls-secret**
484484

485-
The value for password1 is **base64encoded**
485+
The value for password1 is **base64encoded**.
486+
486487
The key *password1* can be anything, but just needs to match your scrapeconfig *password_file* filepath.
487488

488489
```yaml
@@ -497,10 +498,11 @@ data:
497498
```
498499
The **ama-metrics-mtls-secret** secret is mounted on to the ama-metrics containers at path - **/etc/prometheus/certs/** and is made available to the process that is scraping prometheus metrics. The key( ex - password1) in the above example will be the file name and the value is base64 decoded and added to the contents of the file within the container and the prometheus scraper uses the contents of this file to get the value that is used as the password used to scrape the endpoint.
499500

500-
2. In the configmap for the custom scrape configuration use the following setting -
501+
2. In the configmap for the custom scrape configuration use the following setting. The username field should contain the actual username string. The password_file field should contain the path to a file that contains the password.
502+
501503
```yaml
502504
basic_auth:
503-
username: admin
505+
username: <username string>
504506
password_file: /etc/prometheus/certs/password1
505507
506508
```

articles/azure-sql-edge/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To connect to an Azure SQL Edge Database Engine from a network machine, you need
4646
}
4747
```
4848

49-
- **SA password for the Azure SQL Edge instance**: This is the value specified for the `SA_PASSWORD` environment variable during deployment of Azure SQL Edge.
49+
- **SA password for the Azure SQL Edge instance**: This is the value specified for the `MSSQL_SA_PASSWORD` environment variable during deployment of Azure SQL Edge.
5050

5151
## Connect to the Database Engine from within the container
5252

0 commit comments

Comments
 (0)