pkg/

directory
v0.0.0-...-fb7f86c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0

README

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.

Directories

Path Synopsis
api
Package api Grafana HTTP API.
Package api Grafana HTTP API.
Package build contains the command / functions for the Grafana build process used when running the "build" target in the makefile
Package build contains the command / functions for the Grafana build process used when running the "build" target in the makefile
cmd
Package verifystorybook contains the sub-command "verify-storybook".
Package verifystorybook contains the sub-command "verify-storybook".
droneutil
Package droneutil provides utility functions for working with Drone.
Package droneutil provides utility functions for working with Drone.
env
git
golangutils
Package golangutils holds utility functions, wrappers, and types for building Go binaries for Grafana.
Package golangutils holds utility functions, wrappers, and types for building Go binaries for Grafana.
gpg
npm
packaging
Package packaging holds functions and types for creating the tar.gz, deb, and rpm packages of Grafana.
Package packaging holds functions and types for creating the tar.gz, deb, and rpm packages of Grafana.
validation
Package validation provides functions and types for validating Grafana releases in both the pre-release and post-release phases.
Package validation provides functions and types for validating Grafana releases in both the pre-release and post-release phases.
cmd
components
imguploader
Package imguploader is a generated GoMock package.
Package imguploader is a generated GoMock package.
imguploader/gcs
Package gcs provides an image uploader for GCS.
Package gcs provides an image uploader for GCS.
simplejson
Package simplejson provides a wrapper for arbitrary JSON objects that adds methods to access properties.
Package simplejson provides a wrapper for arbitrary JSON objects that adds methods to access properties.
mathexp/parse
Package parse builds parse trees for expressions as defined by expr.
Package parse builds parse trees for expressions as defined by expr.
ml
ifaces
gcsifaces
Package gcsifaces provides interfaces for Google Cloud Storage.
Package gcsifaces provides interfaces for Google Cloud Storage.
infra
db
fs
grn
A GRN string is expressed in the format:
A GRN string is expressed in the format:
log
metrics/graphitebridge
Package graphitebridge provides a bridge to push Prometheus metrics to a Graphite server.
Package graphitebridge provides a bridge to push Prometheus metrics to a Graphite server.
login
mocks
mock_gcsifaces
Package mock_gcsifaces is a generated GoMock package.
Package mock_gcsifaces is a generated GoMock package.
backendplugin
Package backendplugin contains backend plugin related logic.
Package backendplugin contains backend plugin related logic.
backendplugin/instrumentation
Package instrumentation contains backend plugin instrumentation logic.
Package instrumentation contains backend plugin instrumentation logic.
log
manager/pipeline/termination
Package termination defines the Termination stage of the plugin loader pipeline.
Package termination defines the Termination stage of the plugin loader pipeline.
pfs
services
contexthandler
Package contexthandler contains the ContextHandler service.
Package contexthandler contains the ContextHandler service.
live/features
Package features is a generated GoMock package.
Package features is a generated GoMock package.
live/pipeline
Package pipeline is a generated GoMock package.
Package pipeline is a generated GoMock package.
live/runstream
Package runstream is a generated GoMock package.
Package runstream is a generated GoMock package.
ngalert/api
Package api contains base API implementation of unified alerting
Package api contains base API implementation of unified alerting
ngalert/api/tooling/definitions
Grafana Alerting API.
Grafana Alerting API.
ngalert/eval
Package eval executes the condition for an alert definition, evaluates the condition results, and returns the alert instance states.
Package eval executes the condition for an alert definition, evaluates the condition results, and returns the alert instance states.
ngalert/image
Package image is a generated GoMock package.
Package image is a generated GoMock package.
nolint
ngalert/state
Package state is a generated GoMock package.
Package state is a generated GoMock package.
org
pluginsintegration
package pluginsintegration instantiate the plugins package (pkg/plugins) and all of its services/dependencies that Grafana needs to provide plugin support.
package pluginsintegration instantiate the plugins package (pkg/plugins) and all of its services/dependencies that Grafana needs to provide plugin support.
pluginsintegration/adapters
Package adapters contains plugin SDK adapters.
Package adapters contains plugin SDK adapters.
provisioning/values
Package values is a set of value types to use in provisioning.
Package values is a set of value types to use in provisioning.
rendering
Package rendering is a generated GoMock package.
Package rendering is a generated GoMock package.
screenshot
Package screenshot is a generated GoMock package.
Package screenshot is a generated GoMock package.
sqlstore
DO NOT ADD METHODS TO THIS FILES.
DO NOT ADD METHODS TO THIS FILES.
sqlstore/searchstore
Package searchstore converts search queries to SQL.
Package searchstore converts search queries to SQL.
store/kind/dummy
Package dummy provides a dummy kind useful for testing
Package dummy provides a dummy kind useful for testing
tag
tests
tsdb
legacydata
Package legacydata contains old/legacy interfaces/contracts that uses a data format of series/tables.
Package legacydata contains old/legacy interfaces/contracts that uses a data format of series/tables.
cmd
errutil
Package errutil provides utilities for working with errors in Grafana.
Package errutil provides utilities for working with errors in Grafana.
web
Package macaron is a high productive and modular web framework in Go.
Package macaron is a high productive and modular web framework in Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL