Go to file
Erik Sundell db0cc24f2b
Plugin extensions: Introduce new registry for added links (#92343)
* add added component registry

* fix broken test

* add tests for usePluginComponents hook

* readd expose components

* add type assertion exceptions to betterer results

* use new addedComponent registry in legacy endpoints

* remove unused code

* cleanup

* revert test code

* remove commented code

* initial commit

* refactor sync method and hook

* fix tests

* subscribe to the correct registry

* remove old registry

* cleanup types

* add use usePluginLinks hook

* add more tests

* fix import order

* fix typo

* fix and temporarly skip failing tests

* wip

* add hook tests

* add more tests

* remove old hook

* fix versioning

* add version to all extension point ids

* remove cleanup

* remove unused imports

* revert touched file

* fix test

* test: remove hook creation

* catch init error

* send error to faro

* fix broken hook

* comment out call hook initialization

* use the right import ofr isString

* remove unused import

* remove registryState type

* pr feedback

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* remove no longer relevant comment

* fix broken tests

* Fixed test to verify that the memotization works properly.

* simplify hooks

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-08-30 10:09:01 +02:00
.bingo
.changelog-archive
.github
.husky
.vim
.vscode
.yarn
apps/alerting/notifications
conf
contribute
cue.mod
devenv
docs Alerting docs: add info on changing default time out for evaluation (#92391) 2024-08-30 09:46:55 +02:00
e2e Plugin extensions: Introduce new registry for added links (#92343) 2024-08-30 10:09:01 +02:00
emails
grafana-mixin
hack
kinds
local
packages Plugin extensions: Introduce new registry for added links (#92343) 2024-08-30 10:09:01 +02:00
packaging
pkg
plugins-bundled
public Plugin extensions: Introduce new registry for added links (#92343) 2024-08-30 10:09:01 +02:00
scripts
tools
.betterer.results Plugin extensions: Introduce new registry for added links (#92343) 2024-08-30 10:09:01 +02:00
.betterer.results.json
.betterer.ts
.bra.toml
.browserslistrc
.dockerignore
.drone.star
.drone.yml
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.golangci.toml
.levignore.js
.nvmrc
.pa11yci-pr.conf.js
.pa11yci.conf.js
.prettierignore
.prettierrc.js
.trivyignore
.yarnrc.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
GOVERNANCE.md
HALL_OF_FAME.md
LICENSE
LICENSING.md
MAINTAINERS.md
Makefile
NOTICE.md
README.md
ROADMAP.md
SECURITY.md
SUPPORT.md
WORKFLOW.md
build.go
crowdin.yml
cypress.config.js
embed.go
go.mod
go.sum
go.work
go.work.sum
jest.config.js
latest.json
lefthook.rc
lefthook.yml
lerna.json
nx.json
package.json
playwright.config.ts
project.json
stylelint.config.js
tsconfig.json
yarn.lock

README.md

Grafana Logo (Light) Grafana Logo (Dark)

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.