package
0.11.0
Repository: https://github.com/raystack/meteor.git
Documentation: pkg.go.dev

# README

grafana

Usage

source:
  name: grafana
  config:
    base_url: grafana_server
    api_key: your_api_key
    exclude:
      dashboards:
        - dashboard_ud_1
        - dashboard_ud_2
      panels:
        - dashboard_uid_3.panel_id_1

Inputs

KeyValueExampleDescription
base_urlstringhttp://localhost:3000URL of the Grafana serverrequired
api_keystringBearer qweruqwryqwLKJAPI key to access Grafana APIrequired
exclude.dashboards[]string[dashboard_ud_1, dashboard_ud_2]List of dasboards to be excluded from crawlingoptional
exclude.panels[]string[dashboard_uid_3.panel_id_1]List of panels to be excluded from crawlingoptional

Outputs

FieldSample Value
resource.urngrafana.HzK8qNW7z
resource.namenew-dashboard-copy
resource.servicegrafana
resource.urlhttp://localhost:3000/d/HzK8qNW7z/new-dashboard-copy
charts[]chart

Chart

FieldSample Value
urn5WsKOvW7z.4
namePanel Random
typetable
sourcegrafana
descriptionrandom description for this panel
urlhttp://localhost:3000/d/5WsKOvW7z/test-dashboard-updated?viewPanel=4
data_sourcepostgres
raw_querySELECT\n urn,\n created_at AS \"time\"\nFROM resources\nORDER BY 1
dashboard_urngrafana.5WsKOvW7z
dashboard_sourcegrafana

Contributing

Refer to the contribution guidelines for information on contributing to this module.

# Functions

New returns a pointer to an initialized Extractor Object.
No description provided by the author

# Structs

No description provided by the author
Config holds the set of configuration for the grafana extractor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Extractor manages the communication with the Grafana Server.
No description provided by the author
No description provided by the author
No description provided by the author