- What Grafana version and what operating system are you using?
Grafana v10.3.3 (252761264e) - What are you trying to achieve?
Connect Grafana-cloud synthetic monitoring with local grafana instance - How are you trying to achieve it?
- Grafana cloud stack was created
- Loki and Prometheus cloud created
- Provisioning yaml file configured on local grafana instance
apiVersion: 1
apps:
- type: grafana-synthetic-monitoring-app
name: grafana-synthetic-monitoring-app
disabled: false
jsonData:
apiHost: synthetic-api-eu-north-0.grafana.net
stackId: 87343
logs:
grafanaName: grafana-cloud-loki
hostedId: 82942
metrics:
grafanaName: grafana-cloud-prometheus
hostedId: 145917
secureJsonData:
publisherToken: glc_eyJvIjoiM***
- nginx conf
server {
listen 443 ssl http2;
server_name local.local.io;
index index.html index.htm;
location / {
proxy_pass http://localhost:3000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
ssl_certificate /etc/nginx/cert/cert.crt;
ssl_certificate_key /etc/nginx/cert/key.key;
ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4:!RSA+3DES;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1.1 TLSv1.2;
}
-
What happened?
When I try to initialize the Synthetic monitoring on local grafana instance, I got 502 Bad gateway
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
logger=context userId=1 orgId=1 uname=admin t=2024-03-07T10:56:05.583458674+05:00 level=error msg="Request Completed" method=POST path=/api/plugin-proxy/grafana-synthetic-monitoring-app/install status=502 remote_addr=10.80.20.5 time_ms=13 duration=13.177717ms size=0 referer=https:/local.local.io/a/grafana-synthetic-monitoring-app/home handler=/api/plugin-proxy/:pluginId/*
logger=data-proxy-log userId=1 orgId=1 uname=admin path=/api/plugin-proxy/grafana-synthetic-monitoring-app/install remote_addr=10.80.20.5 referer=https://local.local.io/a/grafana-synthetic-monitoring-app/home t=2024-03-07T10:59:55.103559918+05:00 level=error msg="Proxy request failed" err="unsupported protocol scheme \"\""