Plugin has not been initialized
Opened this issue · 1 comments
G0nz0uk commented
What went wrong?
Attempting to install OnCall on a local version of Grafana 10.4 (not docker). Following - https://github.com/grafana/oncall
I click this:
Then get this:
Then click open Grafana OnCall and get this:
Got it running and looks like this:
echo "DOMAIN=http://localhost:8080
# Remove 'with_grafana' below if you want to use existing grafana
# Add 'with_prometheus' below to optionally enable a local prometheus for oncall metrics
# e.g. COMPOSE_PROFILES=with_grafana,with_prometheus
COMPOSE_PROFILES=
# to setup an auth token for prometheus exporter metrics:
# PROMETHEUS_EXPORTER_SECRET=my_random_prometheus_secret
# also, make sure to enable the /metrics endpoint:
# FEATURE_PROMETHEUS_EXPORTER_ENABLED=True
SECRET_KEY=efefefkejk2354kjeflkjelfkjef" > .env
docker ps
my docker-compose yaml, you can see I have excluded prometheus and grafana as Ialready have these runnign locally - https://pastebin.com/swBQ0SPJ
Can you see anything wrong/missing?
How do we reproduce it?
See above
Grafana OnCall Version
1.3.117
Product Area
Alert Flow & Configuration
Grafana OnCall Platform?
None
User's Browser?
No response
Anything else to add?
No response
crimewaffle commented
Same issue here
I got
engine_1 | 2024-05-06 08:43:09 source=engine:app google_trace_id=none logger=apps.grafana_plugin.helpers.client Error connecting to api instance HTTPConnectionPool(host='grafana', port=3000): Max retries exceeded with url: /api/org (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac93549510>: Failed to establish a new connection: [Errno -3] Try again'))
in my logs
(grafana is not in a container). Currently trying to fix it.
EDIT: Nevermind that. I'm stupid and forgot to set the GRAFANA_API_URL
in my docker-compose.yml
(NOT .env
) file