pkg/

directory
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 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.
apis
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
sql
generated
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/service/v0alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/service/v0alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
ifaces
gcsifaces
Package gcsifaces provides interfaces for Google Cloud Storage.
Package gcsifaces provides interfaces for Google Cloud Storage.
infra
db
fs
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.
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
Server defines the main entrypoints to Grafana and the Grafana CLI, as well as test environments.
Server defines the main entrypoints to Grafana and the Grafana CLI, as well as test environments.
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.
pluginsintegration/cachekvstore
Package cachekvstore implements a key-value store that also keeps track of the last update time of the store.
Package cachekvstore implements a key-value store that also keeps track of the last update time of the store.
preference/prefapi
shared logic between httpserver and teamapi
shared logic between httpserver and teamapi
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.
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.
tag
tsdb
cloud-monitoring/time
Copied from https://github.com/grafana/grafana/blob/main/pkg/tsdb/intervalv2/intervalv2.go We're copying this to not block ourselves from decoupling until the conversation here is resolved https://raintank-corp.slack.com/archives/C05QFJUHUQ6/p1700064431005089
Copied from https://github.com/grafana/grafana/blob/main/pkg/tsdb/intervalv2/intervalv2.go We're copying this to not block ourselves from decoupling until the conversation here is resolved https://raintank-corp.slack.com/archives/C05QFJUHUQ6/p1700064431005089
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