Service: Grafana - EyevinnOSC/community GitHub Wiki
Getting Started
Grafana is the open source analytics and monitoring platform for visualizing metrics, logs, and traces. Available as an open web service in Eyevinn Open Source Cloud, you get a fully managed Grafana instance with support for plugin pre-installation, datasource auto-provisioning, and anonymous access — no infrastructure management required.
Prerequisites
- If you have not already done so, sign up for an OSC account.
Step-by-step guide
Step 1: Open the Grafana service page
Navigate to the Grafana service page on the OSC dashboard.
Step 2: Create an instance
Click Create grafana and fill in the fields:
| Field | Description | Example |
|---|---|---|
| Name | Instance name (letters, digits, underscores) | mygrafana |
| PluginsPreinstall (optional) | Comma-separated plugin IDs to install at startup | grafana-clock-panel,grafana-worldmap-panel |
| Datasources (optional) | Auto-provision a datasource: alias:type:url;user;password |
influx:influxdb:http://influxdb:8086;admin;secret |
| AnonymousEnabled (optional) | Allow read-only access without login | true |
| AllowEmbedOrigins (optional) | Origin allowed to embed Grafana in an iframe | https://myapp.example.com |
Click Create and wait for the instance status to change to Running.
Step 3: Log in
Once running, click the instance URL to open Grafana. Log in with the default credentials:
- Username:
admin - Password:
admin
Grafana will prompt you to change the password on first login. Do this before adding any datasources.
Step 4: Add a datasource (manual or auto-provisioned)
Option A — Auto-provision at creation time: Set the Datasources field when creating the instance. The format is:
alias:type:url;username;password
Multiple datasources can be separated with |. For example, to connect to a Prometheus instance:
prom:prometheus:https://myname.birme-osc-prometheus.auto.prod.osaas.io
Option B — Add manually via the UI: After logging in, go to Connections → Data Sources → Add new data source and configure it from the list.
Default credentials
| Field | Value |
|---|---|
| Username | admin |
| Password | admin (change on first login) |
CLI usage
Create a Grafana instance using the OSC CLI:
osc create grafana-grafana mygrafana
With optional parameters:
osc create grafana-grafana mygrafana \
-o PluginsPreinstall="grafana-clock-panel" \
-o AnonymousEnabled=true
List your running instances:
osc list grafana-grafana
Remove an instance:
osc remove grafana-grafana mygrafana