grafana-grafana
- Description:
Transform your organization's data viewing experience with Grafana's cutting-edge visualizations and dynamic dashboards. Effortlessly explore metrics, logs, and receive alerts tailored precisely for powerful insights.
- Copyright:
- 2025 Eyevinn Technology AB
Methods
(async, static) createGrafanaGrafanaInstance(context, body) → {GrafanaGrafana}
- Description:
Create a new Grafana instance
Example
import { Context } from '@osaas/client-core';
import { createGrafanaGrafanaInstance } from '@osaas/client-services';
const ctx = new Context();
const body: GrafanaGrafanaConfig = { name: 'myinstance', ... };
const instance = await createGrafanaGrafanaInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
GrafanaGrafanaConfig | Service instance configuration |
Returns:
- Service instance
- Type
- GrafanaGrafana
(async, static) getGrafanaGrafanaInstance(context, name) → {GrafanaGrafana}
- Description:
Get a Grafana instance
Example
import { Context } from '@osaas/client-core';
import { getGrafanaGrafanaInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getGrafanaGrafanaInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the grafana to be retrieved |
Returns:
- Service instance
- Type
- GrafanaGrafana
(async, static) removeGrafanaGrafanaInstance(context, name)
- Description:
Remove a Grafana instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the grafana to be removed |