The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Go to file
Kristin Laemmert 0de2c9eb96
feat: add ability to launch targeted dskit modules in the grafana server CLI command (#74188)
* feat: add ability to launch targeted dskit modules in the grafana server CLI command

This commit adds a ModuleServer and ModuleRunner suitable for launching dskit services and updates the server cli command to use this instead of the full Server. The default behavior is unchanged and will launch the full Grafana server. Individual services are targeted by setting target=comma,seperated,list in the config file.

* require dev mode to target dskit modules

* remove unused type

* replace setting.CommandLineArgs w/setting.Cfg; the caller can deal with calling setting.NewCfg

* Update pkg/server/module_server.go

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>

---------

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
2023-09-01 08:09:54 -04:00
.bingo Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
.changelog-archive Docs: Add missing entries to changelog for 9.4.9 (#70741) 2023-06-27 14:32:35 +03:00
.github Chore: refactor grafana-apiserver a bit (#74177) 2023-08-31 09:12:01 -04:00
.husky Chore: Remove colours from old husky cleanup pre-commit hook (#73395) 2023-08-18 13:10:18 +00:00
.vim Chore: Upgrade yarn and editor sdks (#42847) 2021-12-08 14:40:24 +01:00
.vscode Add debug option for Golang tests in vscode (#61983) 2023-01-24 14:44:44 +01:00
.yarn Update Monthly patch updates (#71651) 2023-07-31 13:52:26 +02:00
conf Alerting: Limit redis pool size to 5 and make configurable (#74057) 2023-08-29 14:59:12 -05:00
contribute Docs: Update contrib documentation around backports (#73558) 2023-08-30 08:14:15 +02:00
cue.mod Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
devenv Loki: Fix filtering with structured metadata (#73955) 2023-08-31 15:24:03 +02:00
docs DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00
e2e DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
emails Alerting: Do not show grouping when grouplabels are empty in email template (#74090) 2023-08-30 13:02:23 +02:00
grafana-mixin DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
kinds DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00
local Packaging: Dockerfile copy local folder (#64766) 2023-03-14 14:44:11 -05:00
packages DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00
packaging Build: Update plugin installation in custom Dockerfile (#68310) 2023-05-11 16:03:02 -04:00
pkg feat: add ability to launch targeted dskit modules in the grafana server CLI command (#74188) 2023-09-01 08:09:54 -04:00
plugins-bundled Chore: some more type fixes (#73606) 2023-08-23 10:11:59 +01:00
public Alerting: Adds additional pagination to several views (#74268) 2023-09-01 14:39:47 +03:00
scripts Nightly builds: Add missing volumes for nightly builds (#74195) 2023-09-01 13:31:28 +03:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.betterer.results DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00
.betterer.ts Update dependency glob to v10 (#71554) 2023-07-13 17:07:10 +03:00
.bra.toml Chore: Remove redundant codegen step from .bra.tom (#62764) 2023-02-02 14:53:54 +01:00
.browserslistrc Babel: Target more modern browsers, updates browserlistrc (#32573) 2021-04-01 10:32:00 +02:00
.codespellignore Docs/k8s install update (#72567) 2023-08-03 08:53:13 -05:00
.dockerignore copy .github folder into golang build container since we rely on codeowners (#62122) 2023-01-25 10:31:16 -05:00
.drone.star CI: Make RGM the main pipeline for prerelease (#72295) 2023-07-28 09:58:22 -05:00
.drone.yml Nightly builds: Add missing volumes for nightly builds (#74195) 2023-09-01 13:31:28 +03:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintignore Chore: fix .eslintignore to only ignore folder paths at the root (#72032) 2023-07-21 09:17:42 +01:00
.eslintrc GLDS: Check if tokens are used as borderRadius values (#71187) 2023-08-01 12:44:25 +02:00
.gitattributes CRLF (#28822) 2020-11-05 17:20:40 +01:00
.gitignore Chore: .gitignore vscode debug binary (#72185) 2023-07-24 11:50:09 +02:00
.golangci.toml Chore: Add linter rule to avoid imports from Grafana core in test datasource (#71779) 2023-07-18 15:57:31 +02:00
.linguirc I18n: Change locale format to IETF language tag (#52596) 2022-07-22 10:50:00 -04:00
.nvmrc Chore: Move to node 18 again (#62079) 2023-01-26 10:19:39 +00:00
.pa11yci-pr.conf.js Pa11y: Temporarily increase threshold (#73817) 2023-08-25 14:40:59 +03:00
.pa11yci.conf.js A11y: Add Dashboard Settings to Pa11y CI and Refactor local a11y report (#54476) 2022-09-12 15:14:45 +02:00
.prettierignore Swagger: Fix circular reference (#62673) 2023-02-02 13:18:04 +02:00
.prettierrc.js Toolkit: Remove deprecated plugin:build (#67485) 2023-04-28 14:33:16 +02:00
.yarnrc.yml Update Monthly patch updates (#71651) 2023-07-31 13:52:26 +02:00
babel.config.json Revert: Babel removal and runtime update (#63641) 2023-02-23 09:22:35 -05:00
build.go Chore: move build command to importable package (#38726) 2021-09-03 11:24:21 -05:00
CHANGELOG.md Changelog: Updated changelog for 10.1.1 (#74243) 2023-08-31 23:03:19 +00:00
CODE_OF_CONDUCT.md Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
CONTRIBUTING.md Docs: Update contributing guide re feature requests (#73973) 2023-08-31 07:34:00 -10:00
crowdin.yml I18n: Update crowdin config and codeowners (#57264) 2022-10-20 14:59:02 +01:00
Dockerfile Docker: Add musl as a ubuntu dependency (#74127) 2023-08-30 20:26:35 +03:00
embed.go extract kindsys to external library (#64562) 2023-03-15 12:04:28 -04:00
go.mod Rename Google Hangouts to Google Chat (#74162) 2023-08-31 16:09:22 +03:00
go.sum feat: add ability to launch targeted dskit modules in the grafana server CLI command (#74188) 2023-09-01 08:09:54 -04:00
GOVERNANCE.md Governance: Update workplace (#63997) 2023-04-03 13:54:54 +02:00
HALL_OF_FAME.md Chore: Introducing a Grafana HALL_OF_FAME.md (#45878) 2022-05-18 20:13:11 +00:00
ISSUE_TRIAGE.md Docs: Update triage guide re feature requests (#73974) 2023-08-31 11:30:39 +02:00
jest.config.js Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00
latest.json Chore: update latest.json to 10.1.0 (#73720) 2023-08-25 08:31:07 +02:00
lefthook.rc Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
lefthook.yml Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
lerna.json Release: Bump version to 10.2.0-pre (#72418) 2023-07-27 09:21:29 +03:00
LICENSE Re-license Grafana to AGPLv3 (#33184) 2021-04-20 19:03:30 +02:00
LICENSING.md Explore: Refactor trace view and move to core (#61938) 2023-01-27 14:13:17 +00:00
MAINTAINERS.md Add Docs maintainers (#51287) 2022-06-22 13:10:30 -07:00
Makefile Chore: Replace entity GRN with infra/grn GRN (#74198) 2023-08-31 15:43:35 -04:00
metadata.md Docs: Document plugin authentication in metadata schema (#32703) 2021-04-08 18:13:18 +02:00
NOTICE.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
package.json DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00
README.md Docs: Add tested with BrowserStack to README (#70512) 2023-06-22 14:13:50 +02:00
ROADMAP.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
SECURITY.md Docs: Update SECURITY.md (#67985) 2023-06-21 07:34:42 +01:00
stylelint.config.js Update dependency stylelint-config-sass-guidelines to v10 (#71632) 2023-07-19 16:05:06 +01:00
SUPPORT.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
tsconfig.json Bump scenes to 0.17.2 (#70893) 2023-07-05 07:24:48 -07:00
UPGRADING_DEPENDENCIES.md Bump publish docs node version (#46475) 2022-03-11 21:28:12 +01:00
WORKFLOW.md Docs: Update contrib documentation around backports (#73558) 2023-08-30 08:14:15 +02:00
yarn.lock DashboardScene: Support panel relative time overrides and timeshift (#62844) 2023-09-01 10:21:41 +02:00

Grafana

The open-source platform for monitoring and observability

License Drone Go Report Card

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data-driven culture:

  • Visualizations: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs.
  • Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.
  • Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.
  • Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.
  • Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.
  • Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.

Get started

Unsure if Grafana is for you? Watch Grafana in action on play.grafana.org!

Documentation

The Grafana documentation is available at grafana.com/docs.

Contributing

If you're interested in contributing to the Grafana project:

Get involved

This project is tested with BrowserStack

License

Grafana is distributed under AGPL-3.0-only. For Apache-2.0 exceptions, see LICENSING.md.