📖
Stake Local Dashboard
  • Stake Local Dashboard
    • Library Sections
  • Dashboard Installation
    • Installation Overview
    • Install Supporting Software
      • Install Prerequisites
      • Install Prometheus
      • Install Grafana
      • Install node_exporter
      • Install json_exporter
      • Install Ethereum Metrics Exporter
    • Configure Ethereum Clients
    • Configure Supporting Software
      • Configure json_exporter
      • Configure Prometheus Rules
      • Configure Ethereum Metrics Exporter
    • Prometheus Jobs & Targets
      • Prometheus Jobs
      • About Stake Local Labels
      • Base Targets Installation
      • Consensus Client Targets
      • Execution Client Targets
      • Validator Client Targets
      • node_exporter Target
      • json_exporter Target
      • Ethereum Metrics Exporter Targets
      • Third-Party Targets
      • Ethereum Address Targets
      • Validator Public Key Targets
      • Optional: Grafana Target
      • Optional: Prometheus Target
      • Clean Up Unused Targets
    • Optional: Alternative Dashboard Compatibility
      • Besu Dashboard Compatibility
      • Erigon Dashboard Compatibility
      • Geth Dashboard Compatibility
      • Lighthouse Dashboard Compatibility
      • Lodestar Dashboard Compatibility
      • Nethermind Dashboard Compatibility
      • Nimbus Dashboard Compatibility
      • Prysm Dashboard Compatibility
      • Teku Compatibility
    • Enable & Start/Restart Services
      • Checking Software Status
    • Install Dashboard
  • Additional Modifications
    • Additional Staking Groups
    • Change or Add Currency
Powered by GitBook
On this page
  • Grafana
  • Create Prometheus Target
  • Configure Grafana Monitoring
  1. Dashboard Installation
  2. Prometheus Jobs & Targets

Optional: Grafana Target

Monitor some basic detail about Grafana

PreviousValidator Public Key TargetsNextOptional: Prometheus Target

Last updated 2 years ago

Grafana

Create Prometheus Target

The Stake Local dashboard provides only basic, high-level information about Grafana. It may only include memory use, version information, and latest GitHub release. Configuring this target is optional.

Edit the Grafana configuration file in the /etc/prometheus/files_sd/stakelocal/other directory.

sudo nano /etc/prometheus/files_sd/stakelocal/other/grafana.yml

It should look like the following.

    - targets: ['127.0.0.1:3000']
      labels:
        host: 'Default Host'
        service: 'Grafana'
        client: 'Grafana'

If this instance of Grafana is accessible at a different IP address or port, update those in the targets line.

Update the host and service labels, as needed. See for label definitions.

Save the file and exit the editor.

Configure Grafana Monitoring

Turn on Grafana metrics by editing the Grafana configuration file.

sudo nano /etc/grafana/grafana.ini

Uncomment the enabled = true and disable_total_stats = false lines in the [metrics] section by removing the leading semicolon.

# Metrics available at HTTP URL /metrics and /metrics/plugins/:pluginId
[metrics]
# Disable / Enable internal metrics
enabled           = true

# Disable total stats (stat_totals_*) metrics to be generated
disable_total_stats = false

Save the file and exit the editor.

The following is an example from .

About Stake Local Labels
Grafana's documentation on enabling metrics