LicenseGuard

Is github.com/grafana/grafana safe for commercial use?

Go module package · License: AGPL-3.0

github.com/grafana/grafana is licensed under AGPL-3.0. That triggers obligations in 4 of the 5 common shipping models, so whether it is safe for you depends on how you ship.

Can I use github.com/grafana/grafana in SaaS, a distributed app, or internally?

How you ship itResultWhy
Hosted SaaS Obligation triggered AGPL-3.0 section 13 requires that users interacting with a modified version over a network be offered the corresponding source of the whole work. Your distribution model is hosted SaaS, which triggers that obligation. This is the clause that makes AGPL behave differently from GPL for hosted services.
Distributed binary / app Obligation triggered AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is distributed binary or application, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.
Delivered to customer Obligation triggered AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is software delivered to a customer environment, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.
Internal use only No obligation AGPL-3.0 section 13 applies when users interact with the software remotely over a network, and its inherited GPL terms apply on distribution. Your distribution model is internal use only, so neither obligation arises.
Published library Obligation triggered AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is a published library, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.

What obligations does github.com/grafana/grafana carry?

Source disclosureSame license

If you only use it at build time, the answer changes.

AGPL-3.0 appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

Questions this page answers

Is github.com/grafana/grafana safe for commercial use?

github.com/grafana/grafana is licensed under AGPL-3.0. That triggers obligations in 4 of the 5 common shipping models, so whether it is safe for you depends on how you ship.

Can I use github.com/grafana/grafana (AGPL-3.0) in hosted saas?

AGPL-3.0 section 13 requires that users interacting with a modified version over a network be offered the corresponding source of the whole work. Your distribution model is hosted SaaS, which triggers that obligation. This is the clause that makes AGPL behave differently from GPL for hosted services.

Can I use github.com/grafana/grafana (AGPL-3.0) in distributed binary / app?

AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is distributed binary or application, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.

Can I use github.com/grafana/grafana (AGPL-3.0) in delivered to customer?

AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is software delivered to a customer environment, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.

Can I use github.com/grafana/grafana (AGPL-3.0) in internal use only?

AGPL-3.0 section 13 applies when users interact with the software remotely over a network, and its inherited GPL terms apply on distribution. Your distribution model is internal use only, so neither obligation arises.

Can I use github.com/grafana/grafana (AGPL-3.0) in published library?

AGPL-3.0 carries the GPL-3.0 copyleft terms it is built on: distributing a work that incorporates it requires licensing the whole work under the same terms with corresponding source made available. Your distribution model is a published library, which is distribution and triggers that obligation. Section 13 additionally extends this over a network, so hosting the same code would not avoid it.

Does github.com/grafana/grafana matter if it is only a build-time or dev dependency?

AGPL-3.0 appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

This page covers one package. Your go.sum has many more.

Check your whole manifest →

How was this determined?

The license was read from the repository's own LICENSE file, falling back to deps.dev and then ClearlyDefined — Go has no central license metadata, so a project's LICENSE at its default branch is the most direct answer to what it is licensed under today, then evaluated against each shipping model. Dependencies in this ecosystem are linked statically, which is assumed here. Only the declared license is considered; code copied into a project's own source files is not detected by this method.

License data last reviewed .

LicenseGuard reports information derived from published license texts and dependency manifests. It is not legal advice and using it does not create an attorney-client relationship. Results reflect license metadata as declared; they do not identify every obligation or violation. Consult qualified counsel for decisions that matter.

Listed in the official MCP registry, on Glama and on Smithery. Source on GitHub (Apache-2.0).