Skip to content

Commit 99219c2

Browse files
fixing blocking issues
1 parent 257a2df commit 99219c2

File tree

3 files changed

+56
-37
lines changed

3 files changed

+56
-37
lines changed

articles/azure-monitor/containers/prometheus-argocd-integration.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Configure argocd integration for Prometheus metrics in Azure Monitor
3-
description: Describes how to configure argocd monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
3+
description: Describes how to configure Argo CD monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
44
ms.topic: conceptual
55
ms.date: 3/25/2024
66
ms.reviewer: rashmy
7+
ms.service: managed-prometheus
78
---
89
# Argo CD
910
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD follows the GitOps pattern of using Git repositories as the source of truth for defining the desired application state. It automates the deployment of the desired application states in the specified target environments. Application deployments can track updates to branches, tags, or pinned to a specific version of manifests at a Git commit.
@@ -15,7 +16,7 @@ This article describes how to configure Azure Managed Prometheus with Azure Kube
1516
+ Azure Managed prometheus enabled on the AKS cluster - [Enable Azure Managed Prometheus on AKS](kubernetes-monitoring-enable.md#enable-prometheus-and-grafana)
1617

1718
### Deploy Service Monitors
18-
Deploy the following service monitors to configure azure managed prometheus addon to scrape prometheus metrics from the argocd workload.
19+
Deploy the following service monitors to configure Azure managed prometheus addon to scrape prometheus metrics from the argocd workload.
1920

2021
> [!NOTE]
2122
> Please specify the right labels in the matchLabels for the service monitors if they do not match the configured ones in the sample.
@@ -92,13 +93,16 @@ spec:
9293

9394
3. Deploy the template by using any standard methods for installing ARM templates. For guidance, see [ARM template samples for Azure Monitor](../resource-manager-samples.md).
9495

95-
4. Once deployed, you can view the rules in the Azure Portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
96+
4. Once deployed, you can view the rules in the Azure portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
9697

9798
> [!Note]
98-
> 1. Review the alert thresholds to make sure it suits your cluster/worklaods and update it accordingly.</br>
99-
> 2. Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.</br>
100-
> 3. Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).</br>
101-
> 4. If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
99+
> Review the alert thresholds to make sure it suits your cluster/workloads and update it accordingly.
100+
>
101+
> Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.
102+
>
103+
> Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).
104+
>
105+
> If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
102106

103107

104108
### Import the Grafana Dashboard

articles/azure-monitor/containers/prometheus-elasticsearch-integration.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Configure elastic search integration for Prometheus metrics in Azure Monitor
3-
description: Describes how to configure elastic search monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
3+
description: Describes how to configure ElasticSearch monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
44
ms.topic: conceptual
55
ms.date: 3/19/2024
66
ms.reviewer: rashmy
7+
ms.service: managed-prometheus
78
---
89
# ElasticSearch
910
Elasticsearch is the distributed search and analytics engine at the heart of the Elastic Stack. It is where the indexing, search, and analysis magic happen.
@@ -15,19 +16,22 @@ This article describes how to configure Azure Managed Prometheus with Azure Kube
1516
+ Azure Managed prometheus enabled on the AKS cluster - [Enable Azure Managed Prometheus on AKS](kubernetes-monitoring-enable.md#enable-prometheus-and-grafana)
1617

1718

18-
### Install Elastic Search Exporter -
19+
### Install Elastic Search Exporter
1920
Install the [elastic search exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-elasticsearch-exporter) using the helm chart -
2021

2122
```bash
2223
helm install azmon-elasticsearch-exporter --version 5.7.0 prometheus-community/prometheus-elasticsearch-exporter --set es.uri="https://username:[email protected]:9200" --set podMonitor.enabled=true --set podMonitor.apiVersion=azmonitoring.coreos.com/v1
2324
```
2425

2526
> [!NOTE]
26-
> 1. Managed prometheus pod/service monitor configuration with helm chart installation is only supported with the helm chart version >=5.7.0.</br>
27-
> 2. The [prometheus-elasticsearch-exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-elasticsearch-exporter) helm chart can be configured with [values](https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-elasticsearch-exporter/values.yaml) yaml.
28-
Please specify the right server address where the elasticsearch server can be reached. Based on your configuration set the username,password or certs used to authenticate with the elasticsearch server. Set the address where elasticsearch is reachable using the argument "es.uri" ex - .</br>
29-
> 3. You could also use service monitor, instead of pod monitor by using the **--set serviceMonitor.enabled=true** helm chart paramaters. Make sure to use the api version supported by Azure Managed Prometheus using the parameter **serviceMonitor.apiVersion=azmonitoring.coreos.com/v1**.</br>
30-
> 4. If you want to configure any other service or pod monitors, please follow the instructions [here](prometheus-metrics-scrape-crd.md#create-a-pod-or-service-monitor).
27+
> Managed prometheus pod/service monitor configuration with helm chart installation is only supported with the helm chart version >=5.7.0.
28+
>
29+
> The [prometheus-elasticsearch-exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-elasticsearch-exporter) helm chart can be configured with [values](https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-elasticsearch-exporter/values.yaml) yaml.
30+
Please specify the right server address where the ElasticSearch server can be reached. Based on your configuration set the username,password or certs used to authenticate with the ElasticSearch server. Set the address where ElasticSearch is reachable using the argument "es.uri" ex - .
31+
>
32+
> You could also use service monitor, instead of pod monitor by using the **--set serviceMonitor.enabled=true** helm chart paramaters. Make sure to use the api version supported by Azure Managed Prometheus using the parameter **serviceMonitor.apiVersion=azmonitoring.coreos.com/v1**.
33+
>
34+
> If you want to configure any other service or pod monitors, please follow the instructions [here](prometheus-metrics-scrape-crd.md#create-a-pod-or-service-monitor).
3135
3236

3337
### Deploy Rules
@@ -53,13 +57,16 @@ Please specify the right server address where the elasticsearch server can be re
5357

5458
3. Deploy the template by using any standard methods for installing ARM templates. For guidance, see [ARM template samples for Azure Monitor](../resource-manager-samples.md).
5559

56-
4. Once deployed, you can view the rules in the Azure Portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
60+
4. Once deployed, you can view the rules in the Azure portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
5761

5862
> [!Note]
59-
> 1. Review the alert thresholds to make sure it suits your cluster/worklaods and update it accordingly.</br>
60-
> 2. Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.</br>
61-
> 3. Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).</br>
62-
> 4. If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
63+
> Review the alert thresholds to make sure it suits your cluster/worklaods and update it accordingly.
64+
>
65+
> Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.
66+
>
67+
> Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).
68+
>
69+
> If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
6370
6471
### Import the Grafana Dashboard
6572

articles/azure-monitor/containers/prometheus-kafka-integration.md

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: Configure kafka integration for Prometheus metrics in Azure Monitor
3-
description: Describes how to configure kafka monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
2+
title: Configure Kafka integration for Prometheus metrics in Azure Monitor
3+
description: Describes how to configure kKfka monitoring using Prometheus metrics in Azure Monitor to Kubernetes cluster.
44
ms.topic: conceptual
55
ms.date: 3/19/2024
66
ms.reviewer: rashmy
7+
ms.service: managed-prometheus
78
---
89
# Apache Kafka
910
Apache Kafka is an open-source distributed event streaming platform used by high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
@@ -15,25 +16,27 @@ This article describes how to configure Azure Managed Prometheus with Azure Kube
1516
+ Azure Managed prometheus enabled on the AKS cluster - [Enable Azure Managed Prometheus on AKS](kubernetes-monitoring-enable.md#enable-prometheus-and-grafana)
1617

1718

18-
### Install Kafka Exporter -
19-
Install the [kafka exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-kafka-exporter) using the helm chart -
19+
### Install Kafka Exporter
20+
Install the [Kafka Exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-kafka-exporter) using the helm chart -
2021

2122
```bash
2223
helm install azmon-kafka-exporter --namespace=azmon-kafka-exporter --create-namespace --version 2.10.0 prometheus-community/prometheus-kafka-exporter --set kafkaServer="{kafka-server.namespace.svc:9092,.....}" --set prometheus.serviceMonitor.enabled=true --set prometheus.serviceMonitor.apiVersion=azmonitoring.coreos.com/v1
2324
```
2425

2526
> [!NOTE]
26-
> 1. Managed prometheus pod/service monitor configuration with helm chart installation is only supported with the helm chart version >=2.10.0.</br>
27-
> 2. The [prometheus kafka exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-kafka-exporter) helm chart can be configured with [values](https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-kafka-exporter/values.yaml) yaml.
28-
Please specify the right server addresses where the kafka servers can be reached. Set the server address(es) using the argument "kafkaServer".</br>
29-
> 3. If you want to configure any other service or pod monitors, please follow the instructions [here](prometheus-metrics-scrape-crd.md#create-a-pod-or-service-monitor).
27+
> Managed prometheus pod/service monitor configuration with helm chart installation is only supported with the helm chart version >=2.10.0.
28+
>
29+
> The [prometheus kafka exporter](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-kafka-exporter) helm chart can be configured with [values](https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-kafka-exporter/values.yaml) yaml.
30+
Please specify the right server addresses where the kafka servers can be reached. Set the server address(es) using the argument "kafkaServer".
31+
>
32+
> If you want to configure any other service or pod monitors, please follow the instructions [here](prometheus-metrics-scrape-crd.md#create-a-pod-or-service-monitor).
3033
3134

3235
### Import the Grafana Dashboard
3336

34-
To import the grafana dashboards using the ID or JSON, follow the instructions to [Import a dashboard from Grafana Labs](../../managed-grafana/how-to-create-dashboard.md#import-a-grafana-dashboard). </br>
37+
To import the Grafana Dashboards using the ID or JSON, follow the instructions to [Import a dashboard from Grafana Labs](../../managed-grafana/how-to-create-dashboard.md#import-a-grafana-dashboard). </br>
3538

36-
[kafka_exporter grafana dashboard](https://grafana.com/grafana/dashboards/7589-kafka-exporter-overview/)(ID-7589)
39+
[Kafka Exporter Grafana Dashboard](https://grafana.com/grafana/dashboards/7589-kafka-exporter-overview/)(ID-7589)
3740

3841
### Deploy Rules
3942
1. Download the template and parameter files
@@ -54,19 +57,24 @@ To import the grafana dashboards using the ID or JSON, follow the instructions t
5457

5558
3. Deploy the template by using any standard methods for installing ARM templates. For guidance, see [ARM template samples for Azure Monitor](../resource-manager-samples.md).
5659

57-
4. Once deployed, you can view the rules in the Azure Portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
60+
4. Once deployed, you can view the rules in the Azure portal as described in - [Prometheus Alerts](../essentials/prometheus-rule-groups.md#view-prometheus-rule-groups)
5861

5962
> [!Note]
60-
> 1. Review the alert thresholds to make sure it suits your cluster/worklaods and update it accordingly.</br>
61-
> 2. Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.</br>
62-
> 3. Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).</br>
63-
> 4. If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
63+
> Review the alert thresholds to make sure it suits your cluster/workloads and update it accordingly.
64+
>
65+
> Please note that the above rules are not scoped to a cluster. If you would like to scope the rules to a specific cluster, see [Limiting rules to a specific cluster](../essentials/prometheus-rule-groups.md#limiting-rules-to-a-specific-cluster) for more details.
66+
>
67+
> Learn more about [Prometheus Alerts](../essentials/prometheus-rule-groups.md).
68+
>
69+
> If you want to use any other OSS prometheus alerting/recording rules please use the converter here to create the azure equivalent prometheus rules [az-prom-rules-converter](https://aka.ms/az-prom-rules-converter)
6470
6571

6672
### More jmx_exporter metrics using strimzi
6773
If you are using the [strimzi operator](https://github.com/strimzi/strimzi-kafka-operator.git) for deploying the kafka clusters, deploy the pod monitors to get more jmx_exporter metrics.
68-
Note that the metrics need to exposed by the kafka cluster deployments like the examples [here](https://github.com/strimzi/strimzi-kafka-operator/tree/main/examples/metrics). Refer to the kafka-.*-metrics.yaml files to configure metrics to be exposed.
69-
The pod monitors here also assume that the namespace where the kafka workload is deployed in 'kafka'. Update it accordingly if the workloads are deployed in another namespace.
74+
> [!Note]
75+
> Metrics need to be exposed by the kafka cluster deployments like the examples [here](https://github.com/strimzi/strimzi-kafka-operator/tree/main/examples/metrics). Refer to the kafka-.*-metrics.yaml files to configure metrics to be exposed.
76+
>
77+
>The pod monitors here also assume that the namespace where the kafka workload is deployed in 'kafka'. Update it accordingly if the workloads are deployed in another namespace.
7078
7179
```yaml
7280
apiVersion: azmonitoring.coreos.com/v1
@@ -175,7 +183,7 @@ Rich set of alerts based off of strimzi metrics can also be configured by referi
175183
> [!NOTE]
176184
> If using any other way of exposing the jmx_exporter on your kafka cluster, please follow the instructions [here](prometheus-metrics-scrape-crd.md) on how to configure the pod or service monitors accordingly.
177185
178-
### Grafana dashboards for more jmx metrics
186+
### Grafana dashboards for more jmx metrics witb strimzi
179187
Please also see the [grafana-dashboards-for-strimzi](https://github.com/strimzi/strimzi-kafka-operator/tree/main/examples/metrics/grafana-dashboards) to view dashboards for metrics exposed by strimzi operator.
180188
181189

0 commit comments

Comments
 (0)