Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
apps
|
|
|
advisor
module
|
|
|
alerting/notifications
module
|
|
|
dashboard
module
|
|
|
folder
module
|
|
|
iam
module
|
|
|
investigations
module
|
|
|
playlist
module
|
|
|
plugins
module
|
|
|
preferences
module
|
|
|
provisioning
module
|
|
|
secret
module
|
|
|
shorturl
module
|
|
|
devenv
|
|
|
docker/blocks/slow_proxy
command
|
|
|
docker/blocks/stateful_webhook
command
|
|
|
docker/ha-test-unified-alerting
command
|
|
|
pkg
|
|
|
api
Package api Grafana HTTP API.
|
Package api Grafana HTTP API. |
|
cmd/grafana
command
|
|
|
cmd/grafana-cli
command
|
|
|
cmd/grafana-server
command
|
|
|
components/imguploader
Package imguploader is a generated GoMock package.
|
Package imguploader is a generated GoMock package. |
|
components/imguploader/gcs
Package gcs provides an image uploader for GCS.
|
Package gcs provides an image uploader for GCS. |
|
components/satokengen/cmd
command
|
|
|
components/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. |
|
expr/mathexp/parse
Package parse builds parse trees for expressions as defined by expr.
|
Package parse builds parse trees for expressions as defined by expr. |
|
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
generated/clientset/versioned/typed/service/v0alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
generated/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/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. |
|
mocks/mock_gcsifaces
Package mock_gcsifaces is a generated GoMock package.
|
Package mock_gcsifaces is a generated GoMock package. |
|
plugins/backendplugin
Package backendplugin contains backend plugin related logic.
|
Package backendplugin contains backend plugin related logic. |
|
plugins/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. |
|
server
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/authapi
Package authapi contains the connector for Grafana internal auth service.
|
Package authapi contains the connector for Grafana internal auth service. |
|
services/contexthandler
Package contexthandler contains the ContextHandler service.
|
Package contexthandler contains the ContextHandler service. |
|
services/live/features
Package features is a generated GoMock package.
|
Package features is a generated GoMock package. |
|
services/live/pipeline
Package pipeline is a generated GoMock package.
|
Package pipeline is a generated GoMock package. |
|
services/live/runstream
Package runstream is a generated GoMock package.
|
Package runstream is a generated GoMock package. |
|
services/ngalert/api
Package api contains base API implementation of unified alerting
|
Package api contains base API implementation of unified alerting |
|
services/ngalert/api/tooling/definitions
Grafana Alerting API.
|
Grafana Alerting API. |
|
services/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. |
|
services/ngalert/image
Package image is a generated GoMock package.
|
Package image is a generated GoMock package. |
|
services/ngalert/sender
nolint
|
nolint |
|
services/ngalert/state
Package state is a generated GoMock package.
|
Package state is a generated GoMock package. |
|
services/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. |
|
services/pluginsintegration/adapters
Package adapters contains plugin SDK adapters.
|
Package adapters contains plugin SDK adapters. |
|
services/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. |
|
services/preference/prefapi
shared logic between httpserver and teamapi
|
shared logic between httpserver and teamapi |
|
services/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. |
|
services/rendering
Package rendering is a generated GoMock package.
|
Package rendering is a generated GoMock package. |
|
services/screenshot
Package screenshot is a generated GoMock package.
|
Package screenshot is a generated GoMock package. |
|
services/sqlstore
DO NOT ADD METHODS TO THIS FILES.
|
DO NOT ADD METHODS TO THIS FILES. |
|
services/sqlstore/searchstore
Package searchstore converts search queries to SQL.
|
Package searchstore converts search queries to SQL. |
|
storage/unified/apistore
Package apistore provides an implementation of k8s.io/apiserver/pkg/storage.Interface that persists data into a [ResourceServer] (backend for unified storage)
|
Package apistore provides an implementation of k8s.io/apiserver/pkg/storage.Interface that persists data into a [ResourceServer] (backend for unified storage) |
|
storage/unified/resource
Package resource creates a ResourceServer that handles generic storage operations
|
Package resource creates a ResourceServer that handles generic storage operations |
|
storage/unified/sql/dbutil
Package dbutil provides utilities to perform common database operations and appropriate error handling.
|
Package dbutil provides utilities to perform common database operations and appropriate error handling. |
|
tsdb/azuremonitor/standalone
command
|
|
|
tsdb/cloud-monitoring/standalone
command
|
|
|
tsdb/cloud-monitoring/time
Copied from https://github.com/capitalrx/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/capitalrx/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 |
|
tsdb/jaeger/standalone
command
|
|
|
tsdb/loki/standalone
command
|
|
|
tsdb/mssql/standalone
command
|
|
|
tsdb/mysql/standalone
command
|
|
|
tsdb/parca/standalone
command
|
|
|
tsdb/tempo/standalone
command
|
|
|
tsdb/zipkin/standalone
command
|
|
|
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. |
|
aggregator
module
|
|
|
apimachinery
module
|
|
|
apiserver
module
|
|
|
semconv
module
|
|
|
scripts
|
|
|
build/release_publisher
command
|
|
|
openapi3
command
|
|
Click to show internal directories.
Click to hide internal directories.
