Turkce dokumantasyon: README.tr.md
This repository contains a Grafana data source plugin for Riverbed AppResponse. It includes:
- A frontend query editor (TypeScript/React)
- A backend binary (Go, Grafana Plugin SDK)
- A proxy-based integration model using datasource routes in
plugin.json - A Docker-based local validation setup for Grafana 12.x and 13.x
The plugin is currently aligned for Grafana 12/13 compatibility.
- Query Riverbed AppResponse APIs through Grafana datasource proxy routes
- Support for multiple source groups in the query editor:
- Application
- Host Group
- Web App
- IP
- SSL
- Alerts
- Configurable datasource settings:
- Base path
- Username
- Password (secure field)
- TLS skip verify option
- Backend health check endpoint for datasource validation
- Grafana dependency range:
>=12.0.0 <14.0.0 - Tested locally against:
- Grafana
12.3.6 - Grafana
13.0.x
- Grafana
- Plugin signature in local dev: unsigned (allowed via Grafana setting)
src/frontend plugin code (module.ts, query/config editors, datasource logic)pkg/Go backend plugin entrypoint and health/query handlersdist/built plugin artifacts (frontend + backend binaries)docker/local Grafana provisioning and config files.github/workflows/CI and release pipelines
- Node.js (LTS, modern npm)
- Go toolchain
- Docker + Docker Compose
npm install
go mod tidynpm run dev
npm run build
npm run lint
npm run typecheck
npm testgo run github.com/magefile/mage@latest buildAll
go test ./pkg/...
go build ./pkg/...Start both versions:
docker compose up -dAccess:
- Grafana 12: http://localhost:3001
- Grafana 13: http://localhost:3002
- Default credentials:
admin / admin
Stop:
docker compose downThe compose setup binds:
- plugin artifacts from
./dist - provisioning from
./docker/provisioning - Grafana config from
./docker/grafana/grafana.ini
Unsigned plugin loading is enabled for alidogan-appresponse-datasource.
For distribution, sign the plugin:
npm run signRequired environment variable:
GRAFANA_ACCESS_POLICY_TOKEN
Apache-2.0