Skip to content

Commit 4a9be54

Browse files
authored
Merge pull request #298861 from maud-lv/ml-g-tbsupdate
Create troubleshooting connecting managed private endpoint to a private link service
2 parents a722e3d + adbf358 commit 4a9be54

File tree

3 files changed

+84
-6
lines changed

3 files changed

+84
-6
lines changed

articles/managed-grafana/toc.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ items:
102102
href: grafana-settings.md
103103
- name: Upgrade to Grafana 11
104104
href: how-to-upgrade-grafana-11.md
105-
- name: Troubleshoot common issues
106-
href: troubleshoot-managed-grafana.md
105+
- name: Troubleshoot issues
106+
items:
107+
- name: Troubleshoot common issues
108+
href: troubleshoot-managed-grafana.md
109+
- name: Troubleshoot connecting managed private endpoint to a private link service
110+
href: troubleshoot-mpe-connection.md
107111
- name: Reference
108112
items:
109113
- name: Azure CLI

articles/managed-grafana/troubleshoot-managed-grafana.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: azure-managed-grafana
88
ms.date: 04/16/2025
99
---
1010

11-
# Troubleshoot issues for Azure Managed Grafana
11+
# Troubleshoot common Azure Managed Grafana issues
1212

1313
This article guides you to troubleshoot errors with Azure Managed Grafana, and suggests solutions to resolve them.
1414

@@ -200,7 +200,7 @@ After disabling System-Assigned Managed Identity, the data source that has been
200200

201201
Data sources configured with a managed identity may still be able to access data from Azure services for up to 24 hours. When a role assignment is updated in a managed identity for Azure Managed Grafana, this change can take up to 24 hours to be effective, due to limitations of managed identities.
202202

203-
## Next step
203+
## Related content
204204

205-
> [!div class="nextstepaction"]
206-
> [Support](./find-help-open-support-ticket.md)
205+
- [Support](find-help-open-support-ticket.md)
206+
- [Troubleshoot connecting managed private endpoint to a private link service](troubleshoot-mpe-connection.md)
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Troubleshoot managed private endpoint connection issues
3+
description: Troubleshoot connecting a managed private endpoint to a private link service in Azure Managed Grafana.
4+
author: maud-lv
5+
ms.author: malev
6+
ms.topic: troubleshooting
7+
ms.service: azure-managed-grafana
8+
ms.date: 04/25/2025
9+
ai-usage: ai-assisted
10+
---
11+
12+
# Troubleshoot connecting managed private endpoint to a private link service
13+
14+
This article guides you to troubleshoot and fix issues related to connecting Azure Managed Grafana to an AKS cluster via a private link service.
15+
16+
## Symptom
17+
18+
Grafana is unable to connect to a private link service that exposes a service running in an Azure Kubernetes Service (AKS) cluster.
19+
20+
## Possible causes
21+
22+
The issue may occur due to one or more of the following reasons:
23+
24+
- The managed private endpoint isn't approved.
25+
- Network security group (NSG) rules are blocking the connection.
26+
- The private link service isn't properly configured to accept connections from the managed private endpoint.
27+
- The port configuration between the monitored service, the load balancer, and the private link service is inconsistent.
28+
29+
## Resolution
30+
31+
Follow these steps to resolve the issue:
32+
33+
### Step 1: Verify managed private endpoint approval
34+
35+
1. In the Azure portal, navigate to the **Setting** > **Networking** > **Managed Private Endpoint** section of your Azure Managed Grafana resource.
36+
1. Check the state of the managed private endpoint. If it's "Pending", approve the connection.
37+
1. Ensure the private endpoint is connected to the correct private link service.
38+
1. Verify that the private link service owner has approved the connection request.
39+
40+
> [!NOTE]
41+
> Two approvals are required: one by the person who created the managed private endpoint and one by the private link service owner. Ensure both approvals are completed.
42+
43+
### Step 2: Review Network Security Group (NSG) rules
44+
45+
1. Check the NSG rules applied to the subnet where the private link service is deployed.
46+
1. Ensure there are no rules blocking inbound traffic from Azure Managed Grafana to the private link service.
47+
1. Add an allow rule if necessary to permit traffic from Azure Managed Grafana.
48+
49+
### Step 3: Verify private link service configuration
50+
51+
1. Ensure the private link service is configured to accept connections from the managed private endpoint.
52+
1. Check the private link service's settings to confirm it's correctly associated with the target resource.
53+
1. Verify that the private link service is healthy and operational.
54+
55+
### Step 4: Analyze port configuration for AKS clusters
56+
57+
If you're working with an AKS cluster, ensure that the port configuration is consistent across the monitored service, the load balancer, and the private link service. Incorrect port configurations can lead to data source connection failures.
58+
59+
For example, for a self-managed Prometheus server running on an AKS cluster:
60+
61+
- The port configuration for the monitored service should follow the structure: access port + protocol + port name (target port). This can be verified in the **Services and ingresses** page of the AKS cluster in the Azure portal.
62+
63+
- The load balancer created for the service should have a matching port configuration: access port + protocol + port number (target port).
64+
65+
If the port configurations don't match:
66+
67+
1. Edit the YAML file for the load balancer to ensure the port configuration matches the monitored service.
68+
1. Apply the updated configuration to the AKS cluster.
69+
1. Test the Grafana data source connection to confirm it's successful.
70+
71+
## Related content
72+
73+
- [Troubleshoot common issues](troubleshoot-managed-grafana.md)
74+
- [Find help or open a support ticket for Azure Managed Grafana](find-help-open-support-ticket.md)

0 commit comments

Comments
 (0)