Skip to content

grafana/pdc-agent

Folders and files

NameName
Last commit message
Last commit date
Jun 9, 2024
Jan 21, 2025
Feb 12, 2025
May 16, 2023
Jul 10, 2024
Feb 12, 2025
Mar 22, 2024
Jan 5, 2023
Jan 22, 2025
Jul 10, 2024
Jan 21, 2025
Jan 21, 2025

pdc-agent

The Grafana Private Datasource Connect Agent allows connecting private datasources with your grafana cloud instance.

Installation

Follow installation and running instructions in the Grafana Labs Documentation

Setting the ssh log level

Use the -log.level flag. Run the agent with the -help flag to see the possible values.

go log level ssh log level
error 0 (-v not set)
warn 0 (-v not set)
info 0 (-v not set)
debug 3 (-vvv)

DEV flags

Flags prefixed with -dev are used for local development and can be removed at any time.

Developer guide

Dependencies

You will need the following dependencies to test and build the pdc-agent:

Build and test

Run unit tests, lint and build with:

make

Releasing

Create public releases with gh release create vX.X.X --generate-notes

Releases are managed using goreleaser. Use the following command to build binaries on your local machine.

goreleaser build --snapshot --clean

If you want the docker image locally, you can run

goreleaser release --snapshot --clean