|
1 | 1 | ---
|
2 | 2 | ms.service: azure-monitor
|
3 | 3 | ms.topic: include
|
4 |
| -ms.date: 08/04/2023 |
| 4 | +ms.date: 04/01/2023 |
5 | 5 | ms.author: edbaynash
|
6 | 6 | author: EdB-MSFT
|
7 | 7 | ---
|
8 | 8 |
|
9 | 9 | ## Case sensitivity
|
10 |
| -Azure managed Prometheus is a case insensitive system. If one time series differs from another only by a difference in the case of a string - metric name, label name, label value etc, it is treated as the same time series. This behavior is different from native open source Prometheus which is a case sensitive system. |
| 10 | +Azure managed Prometheus is a case insensitive system. If one time series differs from another only by a difference in the case of a string - metric name, label name, label value, etc. - it's treated as the same time series. This behavior is different from native open source Prometheus, which is a case sensitive system. |
11 | 11 |
|
12 |
| -In Azure managed Prometheus the follow time series are considered the same: |
| 12 | +In Azure managed Prometheus the following time series are considered the same: |
13 | 13 |
|
14 |
| - `diskSize(cluster=”eastus”, node=”node1”, filesystem=”usr_mnt”)` |
15 |
| - `diskSize(cluster=”eastus”, node=”node1”, filesystem=”usr_MNT”)` |
| 14 | + `diskSize(cluster="eastus", node="node1", filesystem="usr_mnt")` |
| 15 | + `diskSize(cluster="eastus", node="node1", filesystem="usr_MNT")` |
16 | 16 |
|
17 |
| -The above examples are a single time series in time series database. |
18 |
| -- Any samples ingested against them are be stored as if they're scraped/ingested against a single time series. |
| 17 | +The above examples are a single time series in a time series database. |
| 18 | +- Any samples ingested against them are stored as if they're scraped/ingested against a single time series. |
19 | 19 | - If the examples above are ingested with the same timestamp, one of them is randomly dropped.
|
20 | 20 | - The casing that's stored in the time series database and returned in query, is unpredictable. Different casing may be returned at different times for the same time series.
|
21 |
| -- Any metric name or label name/value matcher present in the query, is retrieved from time series database by making a case-insensitive comparison. If there is a case sensitive matcher in a query, it's automatically treated as a case-insensitive matcher when making string comparisons. |
| 21 | +- Any metric name or label name/value matcher present in the query is retrieved from time series database by making a case-insensitive comparison. If there's a case sensitive matcher in a query, it's automatically treated as a case-insensitive matcher when making string comparisons. |
22 | 22 |
|
23 |
| -It is best practice to insure that a time series is produced or scraped using a single consistent case. |
| 23 | +It is best practice to ensure that a time series is produced or scraped using a single consistent case. |
24 | 24 |
|
25 |
| -In OSS Prometheus the above time series are treated as two different time series. Any samples scraped/ingested against them are stored separately. |
| 25 | +In OSS Prometheus, the above time series are treated as two different time series. Any samples scraped/ingested against them are stored separately. |
0 commit comments