Prometheus license: Apache 2.0, commercial use and what the license requires

Prometheus is licensed under Apache 2.0, which allows commercial use, modification and redistribution at no license fee. The obligations are notice and attribution duties, a patent grant, and no right to use the Prometheus trademark.

On this page

Can your organization use Prometheus commercially under Apache 2.0?

Prometheus is released under the Apache License 2.0, which grants a no-charge, royalty-free license for commercial use, modification and redistribution, with no separate enterprise license to buy. The project itself has no paid edition, so the cost of running it comes from infrastructure, storage, implementation and the people who operate it, not from a license fee. Engineering leads, security reviewers, legal counsel and procurement should all read this page, because each group owns a different part of the decision: engineering sets how Prometheus is modified or packaged, security checks how it is hardened, legal confirms the notice and trademark obligations, and procurement compares the self-run cost against a managed service.

The license grant covers the copyright and patent rights your organization needs to run Prometheus in production, and it applies to the server, Alertmanager and the official client libraries. The Prometheus LICENSE file on GitHub is the standard Apache License, Version 2.0 text with no added clause. Before you rely on that, confirm which components you actually deploy, since exporters and third-party integrations are separate projects that may carry their own licenses. Your legal team should check those individually against your internal license policy.

The conditions that matter most apply when you redistribute Prometheus, for example in a product, a managed service you sell to customers or an internal image you copy to other business units. In that case you must include a copy of the license, mark modified files as changed, keep copyright and attribution notices, and carry the NOTICE text. The patent grant also ends if you sue someone alleging the work infringes a patent, which is worth noting in your contribution and litigation policies. Finally, the license does not let you use the Prometheus name or logo as your own product name, and the Prometheus support and training page identifies the Linux Foundation as the trademark owner. Because the license carries no warranty, plan support and vulnerability response yourself or through a provider.

Which license and terms apply to each Prometheus component

This table compares the license and terms that apply to the Prometheus server, the official client libraries and the wider component set. Read each row as a question you would put to a vendor or assessor: what license governs it, whether a paid edition exists, and what the license does not give you. The main takeaway is that the Apache License 2.0 covers the code at no charge, while warranty, support and trademark use are not included.

Component or termPrometheus serverOfficial client libraries
LicenseApache-2.0, per the project's GitHub repositoryApache 2 License, per the client libraries page footer
Fee for commercial useNo fee charged by the project under Sections 2 and 3No fee charged by the project under Sections 2 and 3
Paid enterprise editionNone from the project itselfNone from the project itself
Warranty under Section 7None from the project, software provided as isNone from the project, software provided as is
Trademark rights under Section 6No rights granted to use the Prometheus name or marksNo rights granted to use the Prometheus name or marks
Redistribution conditions under Section 4Copy of license, change notices, retained notices and NOTICE textCopy of license, change notices, retained notices and NOTICE text
Managed service pricingNot set by the project; see the Prometheus pricing pageNot applicable to client libraries

What is free under the license and what you still pay for

The Apache License 2.0 costs nothing to use, modify or redistribute, and there is no paid enterprise edition of Prometheus itself. What you pay for is the infrastructure the server runs on, the storage it fills, the work to build the deployment and the people who keep it running, and each of these comes from a different party.

Software license fee

The Apache License 2.0 grants a royalty-free copyright license for commercial use, modification and redistribution, with no separate enterprise license. Prometheus has no paid edition, so the license line on a quote should read zero. Ask any vendor who offers a Prometheus product to name what they add on top of the open-source code, and what that addition costs.

Project license
Apache-2.0
Read the LICENSE file

Compute and storage hosting

Prometheus runs as a single server with local time series storage, so you pay for the virtual machines or hardware it runs on and the disks that hold its data. Storage cost depends on how many series you scrape, how often, and how long you keep data. These are recurring charges paid to your cloud provider or data center team.

Default retention
15 days

Implementation and configuration work

Designing scrape jobs, service discovery, alert rules, TLS and authentication is a one-time project cost. It is paid to your own staff or an implementation partner, and it is usually fixed-scope when bought from a partner. Ask for the written scope to list which exporters, alert receivers and access controls are included.

Operations and on-call staffing

Someone must patch the server, watch disk use, rotate credentials and respond when scrapes or alerts fail. This is the largest recurring cost and it is paid in internal salary or retainer fees. Confirm who owns the on-call rota before you compare costs with a managed Prometheus service.

Support and warranty

The Apache License states that the software comes without warranties or conditions of any kind, and the project does not sell a support contract. Commercial support, training and warranty terms come from separate providers, and you should price them in writing. Check the project's support and training page for the providers it lists.

Support and training page

Cost of ownership comparison

A full comparison with a managed Prometheus service needs the infrastructure, storage, staffing and support lines added together over several years. The cost of ownership page works through how to build that comparison. Use it to decide which of these lines you can measure in your own environment before you request quotes.

What Section 2 and Section 3 grant you in practice

Section 2 of the Apache License 2.0, as it appears in the Prometheus repository, is the grant that lets you use Prometheus commercially without paying a fee or buying an enterprise license. It is a perpetual, worldwide, non-exclusive, no-charge, royalty-free and irrevocable copyright license. In practice that covers running Prometheus in production, modifying its source, and redistributing original or modified copies, whether you do it inside one company or sell a product that includes it. Because the grant is irrevocable, a later change of maintainers or license terms does not reach code already released under Apache 2.0. The license does not give you a right to the Prometheus name or logo, which Section 6 reserves, so a product built on Prometheus should not present itself as an official Prometheus distribution.

Section 3 grants a patent license on the same terms. Contributors who hold patents covering their contributions license them to you for use, modification and distribution of the work. The grant has one condition that matters for planning: the patent license terminates if you file litigation alleging that the work infringes a patent. Read plainly, a company that sues the project's users or contributors over patents in the software may lose the patent license it relied on. This is a standard feature of Apache 2.0, but its effect on your own legal position depends on facts about your business that this page cannot settle.

Before you build a product or a managed service on Prometheus, ask your counsel to review how Sections 2 and 3 interact with your own patent strategy, customer contracts and any litigation you may face. Confirm which Prometheus release and which license file you are relying on, and record it in your software bill of materials. Counsel should also check the notice and attribution duties in Section 4 if you redistribute the code, since those obligations apply on top of the grants and are easy to miss in an installer or container image.

What Section 4 requires when you redistribute Prometheus

Section 4 of the Apache License 2.0 attaches conditions to redistribution, not to running Prometheus inside your own infrastructure. The four cards below set out each duty so a team can tell which of its activities trigger them and which do not.

Give recipients a copy of the license

Anyone who passes Prometheus binaries or source to another party must include a copy of the Apache License 2.0 with the distribution. This applies to packaged images, installers and appliances your organization ships to customers or partners. Check that the license file travels with every artifact, including the ones bundled inside a larger product. The copy of the license must accompany each redistributed artifact.

Read the LICENSE file

Mark modified files as changed

If you alter Prometheus source files and redistribute them, Section 4 requires those files to carry a notice that they were changed. This matters for forks, patched builds and custom exporters that copy Prometheus code. Keep a record of which files you modified and when, so the notices stay accurate across releases. The changed files must be marked, not silently replaced.

Keep copyright and attribution notices

Redistributed copies must retain the copyright, patent, trademark and attribution notices from the source. Removing a header or footer to make a build look like your own work breaks this duty. Review build pipelines and packaging scripts for steps that strip or rewrite file headers. Confirm the notices survive any minification or code generation step in your release process.

Include NOTICE attribution text

Where the project distributes a NOTICE file, Section 4 requires the attribution text from that file to appear in your redistribution. Teams often miss this when they package only the binary. Include the NOTICE text in documentation, an about screen or a third-party licenses file that ships with the product. Ask your legal or compliance reviewer to confirm where the text must appear in your product.

Internal use is not redistribution

Running Prometheus on servers, clusters or cloud accounts your organization controls does not redistribute it, so these duties do not apply to that use. Copying the binary between your own hosts or running it for staff is internal use. Redistribution starts when a copy leaves your control, for example when you deliver it to a customer, a managed service provider or a subsidiary outside your group. Confirm with counsel where your corporate boundaries sit.

No additional clause or restriction

The Prometheus LICENSE file is the standard Apache License, Version 2.0 text, with no added clause or restriction in the repository. The Section 4 duties above are the standard conditions of that license, not extra terms set by the project. Your own distribution terms may add obligations to your customers, but they cannot remove the license conditions. Compare the file in the release you ship against the repository before you publish.

Which use cases the Apache 2.0 terms fit

Running Prometheus inside your own infrastructure for your own staff is the simplest case. Apache License 2.0 grants you the right to use, modify and run the software without a fee or a separate enterprise license, and the project itself sells no enterprise edition. The redistribution duties in Section 4 are triggered only when you pass copies of the software or modified files to someone else, so an internal deployment that never leaves your network generally does not start those obligations.

  • No fee for use: Section 2 grants a royalty-free copyright license that covers commercial use and modification.
  • Patent license: Section 3 extends the patent license on the same terms, and it ends if you file litigation alleging the work infringes a patent.
  • Redistribution duties do not trigger: Section 4 applies when you give copies to others, not when you only run the software.
  • Internal modifications: Changes you make for your own use carry no marking duty, though keeping a record of them helps later upgrades.
  • Trademark: Section 6 gives no permission to use the Prometheus name for your own products or services.

Confirm with counsel whether any internal use involves contractors, subsidiaries or affiliates that receive copies, since that can count as distribution.

Why the Prometheus name and the lack of warranty matter

The Apache License 2.0 grants broad rights to use and change Prometheus, but it withholds two things that shape how an organization brands and contracts around it. This section covers the trademark limit in Section 6 and the warranty disclaimer in Section 7, and what each means for the people who build products and sign agreements.

No right to the Prometheus name

Section 6 of the Apache License 2.0 does not grant permission to use the licensor's trade names, trademarks, service marks or product names. The Prometheus support and training page names the Linux Foundation as the trademark owner. Using the Prometheus name in a product, service or company name therefore needs a separate decision, and it should be checked with counsel before a managed offering, hosted service or marketing material goes out under that name.

Prometheus support and training

Naming a service built on Prometheus

A team that offers a monitoring service, dashboard bundle or internal platform built on Prometheus can usually describe the underlying technology accurately, for example stating that the service runs Prometheus. Putting the name into a product brand or logo is the step that needs review. Ask legal to confirm the wording on customer-facing pages, invoices and sales decks, and keep a record of who approved it.

No vendor warranty from the project

Section 7 of the Apache License 2.0 provides the software without warranties or conditions of any kind. The project is a community effort with no vendor behind it, so no party is obliged to fix defects, meet performance targets or stand behind the software for a fee unless a written agreement says so. Any warranty you rely on must come from a contract with a named supplier.

Allocating risk in supplier contracts

When a partner implements, operates or supports Prometheus for you, the contract must state who is responsible for defects, outages, upgrades and security fixes. Because the license disclaims warranties, the supplier's service terms, support commitments and liability caps define your protection. Ask each bidder to state the warranty, service levels and remedies they offer in writing, and compare them against your own risk tolerance.

Checking the terms in your own estate

Before go-live, list every place the Prometheus name appears, including dashboards, alert titles, documentation and vendor portals. Record which contract or internal owner covers defects in each component, from Prometheus to Alertmanager and exporters. Confirm the trademark position and warranty terms with your legal and procurement teams, since this page describes the license and does not give legal advice.

Are the Prometheus client libraries under the same license?

The official Prometheus client libraries are published under the Apache 2 License according to the footer of the Prometheus client libraries page, which lists official libraries for Go, Java or Scala, Node.js, Python, Ruby and Rust. That statement covers all components on GitHub, so the same license terms that apply to the server generally apply to the libraries your applications link against. The page states the license for the set as a whole, though, and it does not reproduce a separate license text for each library.

Before adopting a library, confirm the license in its own repository. Open the LICENSE file in each library's GitHub repository and check that it is the Apache License, Version 2.0 text, and check whether any NOTICE file exists that your redistribution must carry. This matters most where your engineers pull in a library through a package manager, because the license that governs your build is the one attached to the code you actually ship. Record the version and license of each library in your software bill of materials so that a later audit can trace the terms without relying on this page.

Also check the libraries that sit around the official set. Community exporters, instrumentation wrappers and framework integrations are often maintained separately and may use other licenses. The official client library list does not cover them, so treat each one as a separate license review with its own repository, and ask your legal or procurement team to sign off before it enters a production image.

Questions procurement and legal ask before approving Prometheus

Is there a paid enterprise edition of Prometheus?

No. The Prometheus project does not publish a paid enterprise edition of its own. Prometheus is licensed under Apache 2.0 according to its GitHub repository, so the software you deploy is the same open-source project whether you run one server or a large fleet. Your spending goes to infrastructure, storage, implementation and the people who operate it. Before approval, confirm with the project's support and training page that no commercial edition exists under a different name, and ask any vendor that offers a "Prometheus enterprise" product to show exactly which components it adds on top of the open-source server.

Does using Prometheus require a license fee?

No license fee applies. Section 2 of the Apache License 2.0 grants a perpetual, worldwide, royalty-free copyright license that covers commercial use, modification and redistribution without a fee or a separate enterprise license. The same holds for the patent license in Section 3. Your recurring cost is the infrastructure and staffing needed to run Prometheus, plus any support contract you choose to buy. If your procurement policy requires a line item for software, record Prometheus as open source with a zero license cost and document the infrastructure and operating costs separately.

What happens if the Prometheus project changes its license?

The license attached to a released version does not change retroactively. Apache 2.0 grants rights to the code you received under that license, so a later change would not remove what you already hold. To guard against a future change, check the LICENSE file in the prometheus/prometheus repository and the release notes for every version you upgrade to, and record the commit or release you approved. Ask your legal team to set a review trigger so that any change to the LICENSE file or to a notice file is reviewed before the next upgrade.

Is commercial support required to run Prometheus in production?

Commercial support is optional. Prometheus is open source and the project does not offer a vendor support contract, and the Apache 2.0 license provides the software without warranties or conditions of any kind (Section 7). Support comes from the community channels, from commercial support and training providers listed by the project, or from a partner you hire. Decide before approval whether your organization can meet its own response and patching obligations from internal staff. If you need a contractual response commitment, buy it from a named provider and write its terms into the contract, because the open-source license will not supply one.

Which documents should the reviewer collect before approving Prometheus?

Collect the following items so the approval can be recorded and repeated at upgrade time:

  • The LICENSE file from the version you plan to deploy, with its commit or release reference
  • The NOTICE file and the list of third-party components you ship alongside Prometheus
  • The support and training page of the project and a written list of the support providers you considered
  • The release cycle page, so you know which minor releases and long-term support lines receive fixes and for how long
  • A short internal record of the trademark rule in Section 6, which limits use of the Prometheus name in your product materials

Keep these with the change record for the deployment so that auditors can trace what was approved and why.

Can DeployOpen implement and run Prometheus in our infrastructure?

Yes. DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including cloud accounts, data centers and air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support or upgrades are available as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope. DeployOpen is a Chainscore Labs company and does not issue audit reports or certifications, so ask your independent auditor to confirm which evidence it will accept.

Does the Apache 2.0 license let us use the Prometheus name in our product?

Not without permission. Section 6 of the Apache License 2.0 does not grant permission to use the licensor's trade names, trademarks, service marks or product names. The Prometheus support and training page names the Linux Foundation as the trademark owner, so marketing material, product names and vendor branding that use the Prometheus name need review by your legal team. Describing that you run Prometheus in an internal document is a different matter from presenting a product as a Prometheus distribution, so keep the two cases separate in your review.

How DeployOpen works on this

DeployOpen plans and deploys Prometheus inside your own infrastructure, so license obligations are settled in writing before anything is built. We check notice, patent and trademark terms against how your team will redistribute, modify and brand the software, then document the result for your legal and procurement reviewers.

How we scope

  • Written scope lists every Prometheus component and client library in use, including Alertmanager and any exporters.
  • Scope records whether you modify source code, bundle binaries, or ship images to customers or partners.
  • Scope names the trademark usage you plan, such as product names, logos or hosted service branding.

How we build

  • We build an attribution inventory that tracks Apache 2.0 notices and NOTICE file text for each shipped artifact.
  • We review custom patches against the license requirement to mark modified files as changed.
  • We confirm the Prometheus name is used only as the license permits, with no trademark implication.

How we hand over

  • You receive a written license summary covering notices, patent terms, warranty disclaimer and trademark limits.
  • Each deliverable includes a bill of materials listing Prometheus versions and their Apache-2.0 license source.
  • Your legal and procurement reviewers receive the record to confirm conclusions with qualified counsel.

How we support

  • Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer.
  • Retainer work can refresh the license inventory when Prometheus releases or dependencies change.
  • Confirm with your counsel how the Apache 2.0 terms apply to your specific distribution model.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.