NEWS
Grafana mit Cloud und Proxy Adapter
-
Hallo,
hat jemand Grafana mit Cloud und Proxy Adapter laufen ?
Ich habe so ziemlich alle Einstellungen durch, der lokale Zugriff ohne Proxy geht.
Diese Einstellung habe ich im Proxy Adapter:Web.0 proxy.0/ einfachen Proxy verwenden Pfad : grafana/ http://192.168.xxx.xx:3000
Im Vis kommt dann diese Meldung :
Einstellung im VIS :
/proxy.0/grafana/d/i2DUeOZRk/wetterdaten?refresh=5m&orgId=1&kiosk
Warum einfacher Proxy ?
Wenn ich den ausschalte ist im Log dies :t=2022-02-10T12:55:06+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/socket.io/ status=404 remote_addr=::ffff:192.168.xxx.xxx time_ms=10 size=8638 referer= t=2022-02-10T12:55:16+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/socket.io/ status=404 remote_addr=::ffff:192.168.xxx.xxx time_ms=16 size=8638 referer= t=2022-02-10T12:55:24+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/socket.io/ status=404 remote_addr=::ffff:192.168.xxx.xxx time_ms=10 size=8638 referer= t=2022-02-10T12:55:49+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/socket.io/ status=404 remote_addr=::ffff:192.168.xxx.xxx time_ms=9 size=8638 referer=
Bei einfachen Proxy :
t=2022-02-10T12:54:00+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/d/i2DUeOZRk/wetterdaten status=200 remote_addr=::ffff:192.168.xxx.xxx time_ms=14 size=8638 referer=http://192.168.xxx.xx:8082/vis/edit.html
Die Ini Datei :
[server] # Protocol (http, https, h2, socket) protocol = http # The ip address to bind to, empty will bind to all interfaces http_addr = 192.168.xxx.xx # The http port to use http_port = 3000 # The public facing domain name used to access grafana from a browser domain = 192.168.xxx.xx # Redirect to correct domain if host header does not match domain # Prevents DNS rebinding attacks enforce_domain = true # The full public facing url you use in browser, used for redirects and emails # If you use reverse proxy and sub path specify full url (with sub path) root_url = %(protocol)s://%(http_addr)s:%(http_port)s/ # Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons. ;serve_from_sub_path = true # Log web requests router_logging = true # the path relative working path ;static_root_path = public # enable gzip ;enable_gzip = true # https certs & key file ;cert_file = ;cert_key = # Unix socket path ;socket = # CDN Url ;cdn_url =
@Dutchman hatte schon mal sowas erwähnt, jedoch nicht mitgeteilt, was er in der grafana.ini geändert hat.
Vielen Dank schon mal.
-
@gargano Hat niemand grafana mit proxy laufen ?
-
@gargano Hallo, ich habe das selbe Problem. Konntest du es mittlerweile lösen?
BG
marko -
@marko hab leider noch keine Lösung. Hab es erstmal nach hinten gestellt.
-
@gargano habe das selbe
hat jemand eine lösung?