prometheus
The Prometheus monitoring system and time series database.
File Explorer
- bug_report.yml
- config.yml
- feature_request.yml
- approve-workflows.yml
- automerge-dependabot.yml
- buf-lint.yml
- buf.yml
- check_release_notes.yml
- ci.yml
- codeql-analysis.yml
- container_description.yml
- fuzzing.yml
- govulncheck.yml
- lock.yml
- prombench.yml
- repo_sync.yml
- scorecards.yml
- stale.yml
- PULL_REQUEST_TEMPLATE.md
- test.html
- test.yml
- features.json
- features_test.go
- main.go
- main_test.go
- main_unix_test.go
- main_upgrade_test.go
- query_log_test.go
- reload_test.go
- scrape_failure_log_test.go
- upload_test.go
- at-modifier-test.yml
- at-modifier.yml
- authorization_credentials_file.bad.yml
- authorization_credentials_file.good.yml
- bad-input-series.yml
- bad-promql.yml
- bad-rules-error-test.yml
- bad-rules-error.yml
- bad-rules-syntax-test.yml
- bad-rules-syntax.yml
- bad-sd-file-extension.nonexistent
- bad-sd-file-format.yml
- config_with_rule_files.yml
- config_with_service_discovery_files.yml
- config_with_tls_files.yml
- dump-openmetrics-roundtrip-test.prom
- dump-openmetrics-test.prom
- dump-series-1.prom
- dump-series-2.prom
- dump-series-3.prom
- dump-test-1.prom
- dump-test-2.prom
- dump-test-3.prom
- failing.yml
- features.yml
- good-sd-file.json
- good-sd-file.yaml
- good-sd-file.yml
- long-period.yml
- metrics-test.prom
- negative-offset-test.yml
- negative-offset.yml
- no-test-group-interval.yml
- prometheus-aws-sd-empty-region.good.yml
- prometheus-config.bad.yml
- prometheus-config.good.yml
- prometheus-config.lint.too_long_scrape_interval.yml
- prometheus-config.lint.yml
- prometheus-config.rules.good.yml
- prometheus-rules.lint.yml
- rules-bad.yml
- rules.yml
- rules_duplicates.yml
- rules_extrafields.yml
- rules_large.yml
- rules_run.yml
- rules_run_extrafields.yml
- rules_run_fuzzy.yml
- rules_run_no_fuzzy.yml
- start-time-test.yml
- unittest.yml
- url_in_alert_targetgroup_with_relabel_config.bad.yml
- url_in_alert_targetgroup_with_relabel_config.good.yml
- url_in_scrape_targetgroup_with_relabel_config.bad.yml
- url_in_scrape_targetgroup_with_relabel_config.good.yml
- analyze.go
- analyze_test.go
- archive.go
- backfill.go
- backfill_test.go
- debug.go
- main.go
- main_test.go
- metrics.go
- metrics_test.go
- query.go
- rules.go
- rules_test.go
- sd.go
- sd_test.go
- tsdb.go
- tsdb_posix_test.go
- tsdb_test.go
- unittest.go
- unittest_test.go
- go.mod
- go.sum
- remote_write_sender_test.go
- scrape_config_files1.good.yml
- scrape_config_files2.good.yml
- agent_mode.good.yml
- agent_mode.with_alert_manager.yml
- agent_mode.with_alert_relabels.yml
- agent_mode.with_remote_reads.yml
- agent_mode.with_rule_files.yml
- agent_mode.without_remote_writes.yml
- azure_authentication_method.bad.yml
- azure_bearertoken_basicauth.bad.yml
- azure_client_id_missing.bad.yml
- azure_client_secret_missing.bad.yml
- azure_subscription_id_missing.bad.yml
- azure_tenant_id_missing.bad.yml
- bearertoken.bad.yml
- bearertoken_basicauth.bad.yml
- conf.good.yml
- config_with_deprecated_am_api_config.yml
- dropequal.bad.yml
- dropequal1.bad.yml
- ec2_filters_empty_values.bad.yml
- ec2_token_file.bad.yml
- empty_alert_relabel_config.bad.yml
- empty_alertmanager_relabel_config.bad.yml
- empty_metric_relabel_config.bad.yml
- empty_rr_config.bad.yml
- empty_rw_config.bad.yml
- empty_rw_relabel_config.bad.yml
- empty_scrape_config.bad.yml
- empty_scrape_config_action.bad.yml
- empty_static_config.bad.yml
- empty_target_relabel_config.bad.yml
- eureka_invalid_server.bad.yml
- eureka_no_server.bad.yml
- external_labels.good.yml
- first.rules
- global_convert_classic_hist_to_nhcb.good.yml
- global_disable_always_scrape_classic_hist.good.yml
- global_disable_extra_scrape_metrics.good.yml
- global_enable_always_scrape_classic_hist.good.yml
- global_enable_extra_scrape_metrics.good.yml
- global_enable_scrape_native_hist.good.yml
- global_enable_scrape_native_hist_and_scrape_protocols.good.yml
- global_scrape_protocols_and_local_disable_scrape_native_hist.good.yml
- global_timeout.good.yml
- hetzner_role.bad.yml
- http_token_file.bad.yml
- http_url_bad_scheme.bad.yml
- http_url_no_host.bad.yml
- http_url_no_scheme.bad.yml
- ionos_datacenter.bad.yml
- jobname.bad.yml
- jobname_dup.bad.yml
- keepequal.bad.yml
- keepequal1.bad.yml
- kubernetes_api_server_with_own_namespace.bad.yml
- kubernetes_authorization_basicauth.bad.yml
- kubernetes_bearertoken.bad.yml
- kubernetes_bearertoken_basicauth.bad.yml
- kubernetes_empty_apiserver.good.yml
- kubernetes_http_config_without_api_server.bad.yml
- kubernetes_kubeconfig_with_apiserver.bad.yml
- kubernetes_kubeconfig_with_http_config.bad.yml
- kubernetes_kubeconfig_with_own_namespace.bad.yml
- kubernetes_kubeconfig_without_apiserver.good.yml
- kubernetes_namespace_discovery.bad.yml
- kubernetes_role.bad.yml
- kubernetes_selectors_duplicated_role.bad.yml
- kubernetes_selectors_endpoints.bad.yml
- kubernetes_selectors_endpoints.good.yml
- kubernetes_selectors_incorrect_selector.bad.yml
- kubernetes_selectors_ingress.bad.yml
- kubernetes_selectors_ingress.good.yml
- kubernetes_selectors_node.bad.yml
- kubernetes_selectors_node.good.yml
- kubernetes_selectors_pod.bad.yml
- kubernetes_selectors_pod.good.yml
- kubernetes_selectors_service.bad.yml
- kubernetes_selectors_service.good.yml
- labeldrop.bad.yml
- labeldrop2.bad.yml
- labeldrop3.bad.yml
- labeldrop4.bad.yml
- labeldrop5.bad.yml
- labelkeep.bad.yml
- labelkeep2.bad.yml
- labelkeep3.bad.yml
- labelkeep4.bad.yml
- labelkeep5.bad.yml
- labelmap.bad.yml
- labelname.bad.yml
- labelvalue.bad.yml
- lightsail_token_file.bad.yml
- local_convert_classic_hist_to_nhcb.good.yml
- local_disable_always_scrape_classic_hist.good.yml
- local_disable_convert_classic_hist_to_nhcb.good.yml
- local_disable_extra_scrape_metrics.good.yml
- local_disable_scrape_native_hist.good.yml
- local_enable_always_scrape_classic_hist.good.yml
- local_enable_extra_scrape_metrics.good.yml
- local_enable_scrape_native_hist.good.yml
- local_enable_scrape_native_hist_and_scrape_protocols.good.yml
- lowercase.bad.yml
- lowercase3.bad.yml
- marathon_authtoken_authorization.bad.yml
- marathon_authtoken_authtokenfile.bad.yml
- marathon_authtoken_basicauth.bad.yml
- marathon_authtoken_bearertoken.bad.yml
- marathon_no_servers.bad.yml
- metric_name_validation_scheme.bad.yml
- modulus_missing.bad.yml
- oci_authentication_method.bad.yml
- openstack_availability.bad.yml
- openstack_role.bad.yml
- otlp_allow_keep_identifying_resource_attributes.good.yml
- otlp_allow_utf8.bad.yml
- otlp_allow_utf8.good.yml
- otlp_allow_utf8.incompatible.yml
- otlp_convert_histograms_to_nhcb.good.yml
- otlp_empty.yml
- otlp_ignore_resource_attributes_without_promote_all.bad.yml
- otlp_label_underscore_sanitization_defaults.good.yml
- otlp_label_underscore_sanitization_disabled.good.yml
- otlp_label_underscore_sanitization_enabled.good.yml
- otlp_no_translation.good.yml
- otlp_no_translation.incompatible.yml
- otlp_promote_all_resource_attributes.bad.yml
- otlp_promote_scope_metadata.good.yml
- otlp_sanitize_default_resource_attributes.good.yml
- otlp_sanitize_ignore_resource_attributes.bad.yml
- otlp_sanitize_ignore_resource_attributes.good.yml
- otlp_sanitize_promote_resource_attributes.bad.yml
- otlp_sanitize_promote_resource_attributes.good.yml
- otlp_sanitize_resource_attributes_promote_all.good.yml
- outscale_no_region.bad.yml
- outscale_no_secret.bad.yml
- outscale_two_secrets.bad.yml
- ovhcloud_bad_service.bad.yml
- ovhcloud_no_secret.bad.yml
- puppetdb_bad_url.bad.yml
- puppetdb_no_query.bad.yml
- puppetdb_no_scheme.bad.yml
- puppetdb_no_url.bad.yml
- puppetdb_token_file.bad.yml
- regex.bad.yml
- remote_read_dup.bad.yml
- remote_read_header.bad.yml
- remote_read_url_missing.bad.yml
- remote_write_authorization_header.bad.yml
- remote_write_dup.bad.yml
- remote_write_header.bad.yml
- remote_write_queue_capacity_zero.bad.yml
- remote_write_queue_max_backoff_less_than_min.bad.yml
- remote_write_queue_max_samples_per_send_zero.bad.yml
- remote_write_queue_max_shards_zero.bad.yml
- remote_write_queue_min_shards_greater_than_max.bad.yml
- remote_write_queue_min_shards_zero.bad.yml
- remote_write_retry_on_rate_limit.good.yml
- remote_write_url_missing.bad.yml
- remote_write_wrong_msg.bad.yml
- roundtrip.good.yml
- rules.bad.yml
- rules_abs_path.good.yml
- rules_abs_path_windows.good.yml
- scaleway_no_secret.bad.yml
- scaleway_role.bad.yml
- scaleway_two_secrets.bad.yml
- scrape_body_size_limit.bad.yml
- scrape_config_default_validation_mode.yml
- scrape_config_disable_compression.good.yml
- scrape_config_files.bad.yml
- scrape_config_files.good.yml
- scrape_config_files2.good.yml
- scrape_config_files_combined.good.yml
- scrape_config_files_double_import.bad.yml
- scrape_config_files_duplicate.bad.yml
- scrape_config_files_fallback_scrape_protocol1.bad.yml
- scrape_config_files_fallback_scrape_protocol2.bad.yml
- scrape_config_files_glob.bad.yml
- scrape_config_files_glob.good.yml
- scrape_config_files_global.bad.yml
- scrape_config_files_global_duplicate.bad.yml
- scrape_config_files_only.good.yml
- scrape_config_files_scrape_protocols.bad.yml
- scrape_config_files_scrape_protocols2.bad.yml
- scrape_config_global_validation_mode.yml
- scrape_config_local_global_validation_mode.yml
- scrape_config_local_infer_escaping.yml
- scrape_config_local_validation_mode.yml
- scrape_config_utf8_conflicting.bad.yml
- scrape_interval.bad.yml
- scrape_interval_larger.good.yml
- section_key_dup.bad.yml
- stackit_endpoint.bad.yml
- static_config.bad.yml
- target_label_hashmod_missing.bad.yml
- target_label_missing.bad.yml
- tracing_invalid_authorization_header.bad.yml
- tracing_invalid_compression.bad.yml
- tracing_invalid_header.bad.yml
- tracing_missing_endpoint.bad.yml
- tsdb_chunk_encoding_floats.bad.yml
- tsdb_chunk_encoding_floats_wrong_case.bad.yml
- tsdb_chunk_encoding_floats_wrong_case_xor2.bad.yml
- tsdb_chunk_encoding_floats_xor.good.yml
- tsdb_chunk_encoding_floats_xor2.good.yml
- tsdb_retention_percentage.bad.yml
- tsdb_retention_percentage_float.good.yml
- tsdb_retention_percentage_negative.bad.yml
- tsdb_retention_size.bad.yml
- tsdb_retention_time.bad.yml
- unknown_attr.bad.yml
- unknown_global_attr.bad.yml
- uppercase.bad.yml
- uppercase3.bad.yml
- url_in_targetgroup.bad.yml
- uyuni_no_server.bad.yml
- uyuni_token_file.bad.yml
- config.go
- config_default_test.go
- config_test.go
- config_windows_test.go
- reload.go
- reload_test.go
- aws.go
- aws_test.go
- ec2.go
- ec2_test.go
- ecs.go
- ecs_test.go
- elasticache.go
- elasticache_test.go
- lightsail.go
- lightsail_test.go
- metrics_aws.go
- metrics_ec2.go
- metrics_ecs.go
- metrics_elasticache.go
- metrics_lightsail.go
- metrics_msk.go
- metrics_rds.go
- msk.go
- msk_test.go
- rds.go
- rds_test.go
- azure.go
- azure_test.go
- metrics.go
- consul.go
- consul_test.go
- metrics.go
- digitalocean.go
- digitalocean_db.go
- digitalocean_db_test.go
- digitalocean_test.go
- metrics.go
- mock_test.go
- dns.go
- dns_test.go
- metrics.go
- client.go
- client_test.go
- eureka.go
- eureka_test.go
- metrics.go
- invalid_nil.json
- invalid_nil.yml
- valid.json
- valid.yml
- valid2.yml
- valid3.yml
- file.go
- file_test.go
- metrics.go
- gce.go
- metrics.go
- hcloud.go
- hcloud_test.go
- hetzner.go
- metrics.go
- mock_test.go
- robot.go
- robot_test.go
- http_sd.good.json
- http.go
- http_test.go
- metrics.go
- install.go
- servers.json
- ionos.go
- metrics.go
- server.go
- server_test.go
- client.go
- endpoints.go
- endpoints_test.go
- endpointslice.go
- endpointslice_test.go
- ingress.go
- ingress_test.go
- kubernetes.go
- kubernetes_test.go
- metrics.go
- node.go
- node_test.go
- pod.go
- pod_test.go
- service.go
- service_test.go
- events.json
- instances.json
- ranges.json
- ips.json
- events.json
- instances.json
- ranges.json
- ips.json
- events.json
- instances.json
- ranges.json
- ips.json
- linode.go
- linode_test.go
- metrics.go
- mock_test.go
- marathon.go
- marathon_test.go
- metrics.go
- json.json
- _ping.json
- headers.yml
- networks.json
- json.json
- _ping.json
- headers.yml
- networks.json
- _ping.json
- headers.yml
- networks.json
- nodes.json
- services.json
- services.json__wvKVCQ4HhD
- tasks.json
- _ping.json
- headers.yml
- networks.json
- services.json
- docker.go
- docker_test.go
- dockerswarm.go
- metrics_docker.go
- metrics_dockerswarm.go
- moby_test.go
- mock_test.go
- network.go
- nodes.go
- nodes_test.go
- services.go
- services_test.go
- tasks.go
- tasks_test.go
- metrics.go
- nomad.go
- nomad_test.go
- metrics.go
- oci.go
- oci_test.go
- hypervisor.go
- hypervisor_test.go
- instance.go
- instance_test.go
- loadbalancer.go
- loadbalancer_test.go
- metrics.go
- mock_test.go
- openstack.go
- metrics.go
- outscale.go
- vm.go
- vm_test.go
- dedicated_servers.json
- dedicated_servers_abcde_ips.json
- dedicated_servers_details.json
- vps.json
- vps_abc_ips.json
- vps_details.json
- dedicated_server.go
- dedicated_server_test.go
- metrics.go
- ovhcloud.go
- ovhcloud_test.go
- vps.go
- vps_test.go
- vhosts.json
- metrics.go
- puppetdb.go
- puppetdb_test.go
- resources.go
- refresh.go
- refresh_test.go
- instance.json
- secret_key
- baremetal.go
- instance.go
- instance_test.go
- metrics.go
- scaleway.go
- metrics.go
- mock_test.go
- server.go
- server_test.go
- stackit.go
- types.go
- targetgroup.go
- targetgroup_test.go
- metrics.go
- triton.go
- triton_test.go
- metrics.go
- uyuni.go
- uyuni_test.go
- metrics.go
- mock_test.go
- vultr.go
- vultr_test.go
- client.go
- client_test.go
- kuma.go
- kuma_mads.pb.go
- kuma_test.go
- metrics.go
- xds.go
- xds_test.go
- zookeeper.go
- zookeeper_test.go
- discoverer_metrics_noop.go
- discovery.go
- discovery_test.go
- manager.go
- manager_test.go
- metrics.go
- metrics_k8s_client.go
- metrics_refresh.go
- README.md
- registry.go
- util.go
- index.md
- prometheus.md
- promtool.md
- alerting_rules.md
- configuration.md
- https.md
- index.md
- promtool.md
- recording_rules.md
- template_examples.md
- template_reference.md
- unit_testing_rules.md
- prometheus_agent.png
- remote_integrations.png
- api.md
- basics.md
- examples.md
- functions.md
- index.md
- operators.md
- remote_read_api.md
- feature_flags.md
- federation.md
- getting_started.md
- http_sd.md
- index.md
- installation.md
- management_api.md
- migration.md
- prometheus_agent.md
- stability.md
- storage.md
- adapter.go
- adapter_test.go
- main.go
- README.md
- rc.yml
- README.md
- svc.yml
- README.md
- server.go
- client.go
- client_test.go
- escape.go
- client.go
- client_test.go
- client.go
- client_test.go
- tagvalue.go
- tagvalue_test.go
- main.go
- README.md
- go.mod
- go.sum
- Makefile
- Makefile
- prometheus-agent.yml
- prometheus-digitalocean.yml
- prometheus-docker.yml
- prometheus-dockerswarm.yml
- prometheus-eureka.yml
- prometheus-hetzner.yml
- prometheus-ionos.yml
- prometheus-kubernetes.yml
- prometheus-linode.yml
- prometheus-marathon.yml
- prometheus-nomad.yml
- prometheus-otlp.yml
- prometheus-outscale.yml
- prometheus-ovhcloud.yml
- prometheus-puppetdb.yml
- prometheus-scaleway.yml
- prometheus-stackit.yml
- prometheus-uyuni.yml
- prometheus-vultr.yml
- prometheus.yml
- promtool-http-config-file.yml
- rbac-setup.yml
- web-config.yml
- architecture.svg
- architecture.xml
- diagram_note.md
- internal_architecture.svg
- internal_architecture.xml
- prometheus-logo.svg
- .gitignore
- alerts.jsonnet
- alerts.libsonnet
- config.libsonnet
- dashboards.jsonnet
- dashboards.libsonnet
- jsonnetfile.json
- Makefile
- mixin.libsonnet
- README.md
- internal_architecture.md
- go.mod
- go.sum
- tools.go
- exemplar.go
- convert.go
- convert_test.go
- float_histogram.go
- float_histogram_test.go
- generic.go
- generic_test.go
- histogram.go
- histogram_test.go
- test_utils.go
- float.go
- labels_common.go
- labels_dedupelabels.go
- labels_dedupelabels_test.go
- labels_slicelabels.go
- labels_slicelabels_test.go
- labels_stringlabels.go
- labels_stringlabels_test.go
- labels_test.go
- matcher.go
- matcher_test.go
- regexp.go
- regexp_test.go
- sharding.go
- sharding_dedupelabels.go
- sharding_stringlabels.go
- sharding_test.go
- test_utils.go
- metadata.go
- metadata_test.go
- relabel.go
- relabel_test.go
- bad_expr.bad.yaml
- bad_field.bad.yaml
- duplicate_grp.bad.yaml
- invalid_label_name.bad.yaml
- invalid_record_name.bad.yaml
- legacy_validation_annotation.bad.yaml
- legacy_validation_annotation.good.yaml
- no_rec_alert.bad.yaml
- noexpr.bad.yaml
- record_and_alert.bad.yaml
- record_and_for.bad.yaml
- record_and_keep_firing_for.bad.yaml
- test.yaml
- test_aliases.yaml
- utf-8_annotation.good.yaml
- utf-8_lname.good.yaml
- rulefmt.go
- rulefmt_test.go
- 1histogram.om.txt
- alltypes.237mfs.nometa.prom.txt
- alltypes.237mfs.prom.txt
- alltypes.5mfs.om.txt
- benchmark_test.go
- interface.go
- interface_test.go
- nhcbparse.go
- nhcbparse_test.go
- openmetricslex.l
- openmetricslex.l.go
- openmetricsparse.go
- openmetricsparse_test.go
- promlex.l
- promlex.l.go
- promparse.go
- promparse_test.go
- protobufparse.go
- protobufparse_test.go
- README.md
- timestamp.go
- value.go
- alert.go
- alertmanager.go
- alertmanager_test.go
- alertmanagerset.go
- manager.go
- manager_test.go
- metric.go
- sendloop.go
- sendloop_test.go
- util.go
- util_test.go
- minimum.go
- plugin_aws.go
- plugin_azure.go
- plugin_consul.go
- plugin_digitalocean.go
- plugin_dns.go
- plugin_eureka.go
- plugin_gce.go
- plugin_hetzner.go
- plugin_ionos.go
- plugin_kubernetes.go
- plugin_linode.go
- plugin_marathon.go
- plugin_moby.go
- plugin_nomad.go
- plugin_oci.go
- plugin_openstack.go
- plugin_outscale.go
- plugin_ovhcloud.go
- plugin_puppetdb.go
- plugin_scaleway.go
- plugin_stackit.go
- plugin_triton.go
- plugin_uyuni.go
- plugin_vultr.go
- plugin_xds.go
- plugin_zookeeper.go
- decoder.go
- decoder_test.go
- metrics.pb.go
- metrics.proto
- codec.go
- custom.go
- custom_test.go
- symbols.go
- symbols_test.go
- types.pb.go
- types.proto
- types_test.go
- codec_test.go
- buf.gen.yaml
- buf.lock
- buf.yaml
- codec.go
- custom.go
- README.md
- remote.pb.go
- remote.proto
- types.pb.go
- types.proto
- posrange.go
- ast.go
- features.go
- functions.go
- generated_parser.y
- generated_parser.y.go
- lex.go
- lex_test.go
- parse.go
- parse_test.go
- prettier.go
- prettier_rules.md
- prettier_test.go
- printer.go
- printer_test.go
- value.go
- main.go
- aggregators.test
- at_modifier.test
- collision.test
- duration_expression.test
- extended_vectors.test
- fill-modifier.test
- functions.test
- histograms.test
- info.test
- limit.test
- literals.test
- name_label_dropping.test
- native_histograms.test
- operators.test
- range_queries.test
- selectors.test
- staleness.test
- start_timestamps.test
- subquery.test
- trig_functions.test
- type_and_unit.test
- README.md
- test.go
- test_migrate.go
- test_migrate_test.go
- test_test.go
- bench_test.go
- durations.go
- durations_test.go
- engine.go
- engine_internal_test.go
- engine_test.go
- functions.go
- functions_internal_test.go
- functions_test.go
- histogram_stats_iterator.go
- histogram_stats_iterator_test.go
- info.go
- promql_test.go
- quantile.go
- quantile_test.go
- query_logger.go
- query_logger_test.go
- value.go
- value_test.go
- alert_rule.yaml
- alert_rule1.yaml
- invalid_rules.yaml
- rules.yaml
- rules1.yaml
- rules2.yaml
- rules2_copy.yaml
- rules_chain.yaml
- rules_dependencies.yaml
- rules_indeterminates.yaml
- rules_multi_doc.yaml
- rules_multiple.yaml
- rules_multiple_dependents_on_base.yaml
- rules_multiple_groups.yaml
- rules_multiple_independent.yaml
- alerting.go
- alerting_test.go
- group.go
- group_test.go
- manager.go
- manager_test.go
- origin.go
- origin_test.go
- recording.go
- recording_test.go
- rule.go
- labels.go
- labels_test.go
- bearertoken.txt
- ca.cer
- ca.key
- client.cer
- client.key
- server.cer
- server.key
- servername.cer
- servername.key
- clientprotobuf.go
- helpers_test.go
- manager.go
- manager_test.go
- metrics.go
- scrape.go
- scrape_append_v2.go
- scrape_test.go
- st_synthesis.go
- st_synthesis_test.go
- target.go
- target_test.go
- bump_go_version.sh
- check-go-mod-version.sh
- check-node-version.sh
- check_release_notes.sh
- compress_assets.sh
- dependabot.yml
- generate_release_notes.sh
- genproto.sh
- get_module_version.sh
- golangci-lint.yml
- npm-deps.sh
- package_assets.sh
- sync_repo_files.sh
- ui_release.sh
- azuread_bad_certificate_invalidclientid.yaml
- azuread_bad_certificate_missingclientid.yaml
- azuread_bad_certificate_missingpath.yaml
- azuread_bad_certificate_missingtenantid.yaml
- azuread_bad_certificate_oauth.yaml
- azuread_bad_configmissing.yaml
- azuread_bad_invalidclientid.yaml
- azuread_bad_invalidoauthconfig.yaml
- azuread_bad_oauthsdkconfig.yaml
- azuread_bad_scope_invalid.yaml
- azuread_bad_twoconfig.yaml
- azuread_bad_workloadidentity_invalidclientid.yaml
- azuread_bad_workloadidentity_invalidtenantid.yaml
- azuread_bad_workloadidentity_missingclientid.yaml
- azuread_bad_workloadidentity_missingtenantid.yaml
- azuread_good_certificate.yaml
- azuread_good_certificate_pfx.yaml
- azuread_good_certificate_with_key.yaml
- azuread_good_cloudmissing.yaml
- azuread_good_defaultmanagedidentity.yaml
- azuread_good_oauth.yaml
- azuread_good_oauth_customscope.yaml
- azuread_good_sdk.yaml
- azuread_good_specificmanagedidentity.yaml
- azuread_good_workloadidentity.yaml
- azuread.go
- azuread_test.go
- README.md
- googleiam.go
- annotations.go
- context.go
- context_test.go
- helper.go
- helper_test.go
- histograms.go
- histograms_test.go
- metrics_to_prw.go
- metrics_to_prw_test.go
- number_data_points.go
- number_data_points_test.go
- otlp_to_openmetrics_metadata.go
- testutil_test.go
- chunked.go
- chunked_test.go
- client.go
- client_test.go
- codec.go
- codec_test.go
- dial_context.go
- dial_context_test.go
- ewma.go
- intern.go
- intern_test.go
- max_timestamp.go
- metadata_watcher.go
- metadata_watcher_test.go
- queue_manager.go
- queue_manager_test.go
- read.go
- read_handler.go
- read_handler_test.go
- read_test.go
- stats.go
- storage.go
- storage_test.go
- write.go
- write_handler.go
- write_handler_test.go
- write_otlp_handler.go
- write_otlp_handler_test.go
- write_test.go
- buffer.go
- buffer_test.go
- errors.go
- errors_test.go
- fanout.go
- fanout_test.go
- generic.go
- generic_test.go
- interface.go
- interface_append.go
- interface_test.go
- lazy.go
- memoized_iterator.go
- memoized_iterator_test.go
- merge.go
- merge_test.go
- noop.go
- secondary.go
- series.go
- series_test.go
- template.go
- template_amd64_test.go
- template_test.go
- ca.cer
- tracing.go
- tracing_test.go
- checkpoint.go
- checkpoint_test.go
- db.go
- db_append_v2.go
- db_append_v2_test.go
- db_test.go
- series.go
- series_test.go
- appendable.go
- benchmark_test.go
- bstream.go
- bstream_test.go
- chunk.go
- chunk_test.go
- float_histogram.go
- float_histogram_st.go
- float_histogram_st_test.go
- float_histogram_test.go
- histogram.go
- histogram_meta.go
- histogram_meta_test.go
- histogram_st.go
- histogram_st_test.go
- histogram_test.go
- st.go
- st_helper_test.go
- varbit.go
- varbit_test.go
- xor.go
- xor2.go
- xor2_test.go
- xor_test.go
- chunk_write_queue.go
- chunk_write_queue_test.go
- chunks.go
- chunks_test.go
- head_chunks.go
- head_chunks_other.go
- head_chunks_test.go
- head_chunks_windows.go
- queue.go
- queue_test.go
- samples.go
- compression.go
- chunks.md
- head_chunks.md
- index.md
- memory_snapshot.md
- README.md
- tombstones.md
- wal.md
- bstream.md
- refs.md
- usage.md
- encoding.go
- dir.go
- dir_unix.go
- dir_windows.go
- direct_io.go
- direct_io_force.go
- direct_io_linux.go
- direct_io_unsupported.go
- direct_io_writer.go
- direct_io_writer_test.go
- fileutil.go
- flock.go
- flock_aix.go
- flock_js.go
- flock_plan9.go
- flock_solaris.go
- flock_test.go
- flock_unix.go
- flock_windows.go
- mmap.go
- mmap_386.go
- mmap_amd64.go
- mmap_arm64.go
- mmap_js.go
- mmap_unix.go
- mmap_windows.go
- preallocate.go
- preallocate_darwin.go
- preallocate_linux.go
- preallocate_other.go
- sync.go
- sync_darwin.go
- sync_linux.go
- goversion.go
- goversion_test.go
- init.go
- index.go
- index_test.go
- postings.go
- postings_test.go
- postingsstats.go
- postingsstats_test.go
- bench_test.go
- buffers.go
- buffers_test.go
- record.go
- record_test.go
- 000001
- index
- meta.json
- tombstones
- index
- meta.json
- 20kseries.json
- tombstones.go
- tombstones_test.go
- dir_locker.go
- dir_locker_test.go
- dir_locker_testutil.go
- histogram.go
- remove_tmp_dirs.go
- remove_tmp_dirs_test.go
- checkpoint.go
- checkpoint_test.go
- live_reader.go
- reader.go
- reader_test.go
- watcher.go
- watcher_test.go
- wlog.go
- wlog_test.go
- .gitignore
- block.go
- block_test.go
- blockwriter.go
- blockwriter_test.go
- CHANGELOG.md
- compact.go
- compact_test.go
- db.go
- db_append_v2_test.go
- db_test.go
- example_test.go
- exemplar.go
- exemplar_test.go
- head.go
- head_append.go
- head_append_v2.go
- head_append_v2_test.go
- head_bench_test.go
- head_dedupelabels.go
- head_other.go
- head_read.go
- head_read_test.go
- head_test.go
- head_wal.go
- isolation.go
- isolation_test.go
- label_values_bench_test.go
- mocks_test.go
- ooo_head.go
- ooo_head_read.go
- ooo_head_read_test.go
- ooo_head_test.go
- ooo_isolation.go
- ooo_isolation_test.go
- querier.go
- querier_bench_test.go
- querier_test.go
- README.md
- repair.go
- repair_test.go
- testutil.go
- tsdbblockutil.go
- almost.go
- almost_test.go
- annotations.go
- annotations_test.go
- buffers.go
- compression.go
- compression_test.go
- convertnhcb.go
- convertnhcb_test.go
- documentcli.go
- features.go
- format.go
- format_test.go
- main.go
- .gitignore
- corpus.go
- corpus_protobuf.go
- fuzz_test.go
- gate.go
- compression.go
- compression_test.go
- context.go
- cors.go
- cors_test.go
- marshal.go
- junitxml.go
- junitxml_test.go
- kahansum.go
- kahansum_test.go
- dedupe.go
- dedupe_test.go
- file.go
- file_test.go
- namevalidationutil.go
- namevalidationutil_test.go
- netconnlimit.go
- netconnlimit_test.go
- notifications.go
- notifications_test.go
- hostname.go
- pool.go
- pool_test.go
- limits_default.go
- limits_windows.go
- statfs.go
- statfs_default.go
- statfs_linux_386.go
- statfs_uint32.go
- statfs_unix_test.go
- statfs_windows.go
- statfs_windows_test.go
- uname_default.go
- uname_linux.go
- vmlimits_default.go
- vmlimits_openbsd.go
- runutil.go
- query_stats.go
- stats_test.go
- timer.go
- jarowinkler.go
- jarowinkler_bench_test.go
- jarowinkler_test.go
- quote.go
- quote_test.go
- strconv.go
- strconv_test.go
- subsequence.go
- subsequence_test.go
- record.go
- appender.go
- appender_test.go
- storage.go
- cmp.go
- context.go
- directory.go
- port.go
- roundtrip.go
- testing.go
- records.go
- records_test.go
- treecache.go
- pool.go
- pool_test.go
- api.go
- assertions.go
- fixtures.go
- mocks.go
- openapi.go
- request.go
- openapi_3.1_golden.yaml
- openapi_3.2_golden.yaml
- api.go
- api_scenarios_test.go
- api_test.go
- codec.go
- codec_test.go
- errors_test.go
- helpers_test.go
- json_codec.go
- json_codec_test.go
- openapi.go
- openapi_coverage_test.go
- openapi_examples.go
- openapi_golden_test.go
- openapi_helpers.go
- openapi_paths.go
- openapi_schemas.go
- openapi_test.go
- search.go
- search_filters.go
- search_filters_bench_test.go
- search_filters_test.go
- search_test.go
- translate_ast.go
- translate_ast_test.go
- favicon.svg
- alertmanagers.ts
- config.ts
- features.ts
- labelValues.ts
- metadata.ts
- notifications.ts
- query.ts
- relabel_steps.ts
- rules.ts
- scrapePools.ts
- selfMetrics.ts
- series.ts
- targets.ts
- tsdbStatus.ts
- walreplay.ts
- api.ts
- theme.ts
- CustomInfiniteScroll.tsx
- EndpointLink.tsx
- ErrorBoundary.tsx
- InfoPageCard.tsx
- InfoPageStack.tsx
- LabelBadges.tsx
- NotificationsIcon.tsx
- NotificationsProvider.tsx
- ReadinessWrapper.tsx
- RuleDefinition.module.css
- RuleDefinition.tsx
- ScrapePoolConfig.test.tsx
- ScrapePoolConfig.tsx
- SettingsMenu.tsx
- StateMultiSelect.tsx
- ThemeSelector.tsx
- codicon.ttf
- prometheus-logo.svg
- escapeString.ts
- formatFloatValue.ts
- formatSeries.ts
- formatTime.test.ts
- formatTime.ts
- BinaryExpr.tsx
- ScalarScalar.tsx
- VectorScalar.tsx
- VectorVector.tsx
- Aggregation.tsx
- ExplainView.module.css
- ExplainView.tsx
- Selector.tsx
- LabelsExplorer.module.css
- LabelsExplorer.tsx
- MetricsExplorer.module.css
- MetricsExplorer.tsx
- colorPool.ts
- DataTable.module.css
- DataTable.tsx
- ExpressionInput.module.css
- ExpressionInput.tsx
- ExpressionInput.tsx.old
- Graph.module.css
- Graph.tsx
- HistogramChart.module.css
- HistogramChart.tsx
- HistogramHelpers.test.ts
- HistogramHelpers.ts
- HistoryCompleteStrategy.tsx
- QueryPage.tsx
- QueryPanel.module.css
- QueryPanel.tsx
- QueryStatsDisplay.tsx
- RangeInput.tsx
- ResolutionInput.tsx
- SeriesName.module.css
- SeriesName.tsx
- TableTab.tsx
- TimeInput.tsx
- TreeNode.module.css
- TreeNode.tsx
- TreeView.tsx
- uplot.css
- UPlotChart.tsx
- uPlotChartHelpers.ts
- uPlotStackHelpers.ts
- urlStateEncoding.test.ts
- urlStateEncoding.ts
- RelabelSteps.tsx
- ServiceDiscoveryPage.tsx
- ServiceDiscoveryPoolsList.tsx
- ScrapePoolsList.tsx
- ScrapeTimingDetails.tsx
- TargetLabels.tsx
- TargetsPage.tsx
- AgentPage.tsx
- AlertmanagerDiscoveryPage.tsx
- AlertsPage.module.css
- AlertsPage.tsx
- ConfigPage.tsx
- FlagsPage.module.css
- FlagsPage.tsx
- RulesPage.module.css
- RulesPage.tsx
- StatusPage.tsx
- TSDBStatusPage.tsx
- main.go
- main.go
- go.mod
- go.sum
- ast.ts
- binOp.test.ts
- binOp.ts
- durationExprNotes.test.tsx
- durationExprNotes.tsx
- format.tsx
- functionDocs.tsx
- functionMeta.ts
- functionSignatures.ts
- serialize.ts
- serializeAndFormat.test.ts
- utils.test.ts
- utils.ts
- hooks.ts
- initializeFromLocalStorage.ts
- localStorageMiddleware.ts
- queryPageSlice.ts
- serviceDiscoveryPageSlice.ts
- settingsSlice.ts
- store.ts
- targetsPageSlice.ts
- useNotifications.ts
- types.ts
- App.module.css
- App.tsx
- Badge.module.css
- highlightjs.css
- main.tsx
- mantine-overrides.css
- Panel.module.css
- promql.css
- setupTests.ts
- styles.ts
- vite-env.d.ts
- .gitignore
- eslint.config.mjs
- index.html
- package.json
- postcss.config.cjs
- tsconfig.json
- tsconfig.node.json
- vite.config.ts
- vitest.config.ts
- index.ts
- prometheus.test.ts
- prometheus.ts
- hybrid.test.ts
- hybrid.ts
- index.test.ts
- index.ts
- promql.terms.ts
- hybrid.ts
- index.ts
- index.ts
- matcher.test.ts
- matcher.ts
- parser.test.ts
- parser.ts
- path-finder.test.ts
- path-finder.ts
- type.ts
- vector.test.ts
- vector.ts
- alertmanager_alerts_series.json
- label_env_values.json
- labels.json
- metadata.json
- metric_name.json
- utils-test.ts
- function.ts
- index.ts
- matcher.ts
- vector.ts
- index.ts
- promql.test.ts
- promql.ts
- .gitignore
- .npmignore
- build.sh
- eslint.config.mjs
- jest.config.cjs
- package.json
- README.md
- setupJest.cjs
- tsconfig.json
- highlight.js
- promql.grammar
- tokens.js
- expression.txt
- promql.test.js
- .gitignore
- .npmignore
- build.sh
- generate-types.sh
- jest.config.cjs
- package.json
- README.md
- rollup.config.js
- favicon.ico
- index.html
- manifest.json
- Checkbox.test.tsx
- Checkbox.tsx
- CustomInfiniteScroll.tsx
- SearchBar.tsx
- ToggleMoreLess.test.tsx
- ToggleMoreLess.tsx
- withStartingIndicator.test.tsx
- withStartingIndicator.tsx
- withStatusIndicator.tsx
- constants.tsx
- AnimateLogoContext.tsx
- PathPrefixContext.tsx
- ReadyContext.tsx
- ThemeContext.tsx
- ToastContext.tsx
- codicon.ttf
- useFetch.ts
- useLocalStorage.test.tsx
- useLocalStorage.tsx
- useMedia.ts
- prometheus_logo_grey.svg
- Agent.tsx
- AlertContents.test.tsx.snap
- AlertContents.test.tsx
- AlertContents.tsx
- Alerts.tsx
- CollapsibleAlertPanel.tsx
- Config.tsx
- Flags.test.tsx.snap
- Flags.test.tsx
- Flags.tsx
- CMTheme.tsx
- ColorPool.ts
- DataTable.test.tsx
- DataTable.tsx
- ExpressionInput.test.tsx
- ExpressionInput.tsx
- Graph.test.tsx
- Graph.tsx
- GraphControls.test.tsx
- GraphControls.tsx
- GraphHeatmapHelpers.test.ts
- GraphHeatmapHelpers.ts
- GraphHelpers.test.ts
- GraphHelpers.ts
- GraphTabContent.test.tsx
- GraphTabContent.tsx
- HistogramChart.test.tsx
- HistogramChart.tsx
- HistogramHelpers.ts
- HistorgramHelpers.test.tsx
- Legend.tsx
- MetricsExplorer.test.tsx
- MetricsExplorer.tsx
- Panel.test.tsx
- Panel.tsx
- PanelList.test.tsx
- PanelList.tsx
- QueryStatsView.test.tsx
- QueryStatsView.tsx
- SeriesName.test.tsx
- SeriesName.tsx
- TimeInput.test.tsx
- TimeInput.tsx
- Rules.tsx
- RulesContent.tsx
- LabelsTable.tsx
- Services.tsx
- Status.test.tsx.snap
- Status.test.tsx
- Status.tsx
- testdata.ts
- EndpointLink.test.tsx
- EndpointLink.tsx
- Filter.test.tsx
- Filter.tsx
- ScrapePoolContent.tsx
- ScrapePoolList.test.tsx
- ScrapePoolList.tsx
- ScrapePoolPanel.module.css
- target.test.ts
- target.ts
- TargetLabels.test.tsx
- TargetLabels.tsx
- Targets.test.tsx
- Targets.tsx
- TargetScrapeDuration.test.tsx
- TargetScrapeDuration.tsx
- TSDBStatus.test.tsx
- TSDBStatus.tsx
- index.ts
- _bootstrap_dark.scss
- _bootstrap_light.scss
- _shared.scss
- app.scss
- dark.scss
- light.scss
- index.d.ts
- types.ts
- index.ts
- utils.test.ts
- jquery.flot.crosshair.js
- jquery.flot.heatmap.js
- jquery.flot.js
- jquery.flot.selection.js
- jquery.flot.stack.js
- jquery.flot.time.js
- App.test.tsx
- App.tsx
- globals.ts
- index.tsx
- Navbar.test.tsx
- Navbar.tsx
- react-app-env.d.ts
- setupProxy.js
- setupTests.ts
- Theme.tsx
- .env
- .eslintrc.json
- .gitignore
- config-overrides.js
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- tsconfig.json
- .gitignore
- .npmrc
- .nvmrc
- assets_embed.go
- build_ui.sh
- embed.go.tmpl
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- ui.go
- federate.go
- federate_test.go
- web.go
- web_test.go
- .dockerignore
- .gitattributes
- .gitignore
- .golangci.yml
- .promu.yml
- .yamllint
- AGENTS.md
- CHANGELOG.md
- CLAUDE.md
- CODE_OF_CONDUCT.md
- CODEOWNERS
- CONTRIBUTING.md
- Dockerfile
- Dockerfile.distroless
- go.mod
- go.sum
- go.work
- LICENSE
- MAINTAINERS.md
- Makefile
- Makefile.common
- NOTICE
- README.md
- RELEASE.md
- renovate.json
- SECURITY-INSIGHTS.yml
- SECURITY.md
- VERSION
# Installation Guide
goSetup Steps
git clone https://github.com/prometheus/prometheus.git
Clone the project source code.
cd prometheus
Change directory to the project folder.
make build
Build the project and compile web assets.
./prometheus --config.file=your_config.yml
Run Prometheus with the specified configuration file.
Key Commands
make build
Build prometheus and promtool binaries including web assets.
make test
Run the test suite for the project.
make assets
Build the React UI assets.
go install github.com/prometheus/prometheus/cmd/...
Install binaries into GOPATH.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Release Timeline
Actively Maintained- 2026-08-18 3.14.0 / 2026-08-17
- 2026-08-11 3.14.0-rc.0 / 2026-08-06 Pre-release
- 2026-07-30 3.13.2 / 2026-07-29
- 2026-07-10 3.13.1 / 2026-07-10
- 2026-07-09 3.5.5 / 2026-07-09
- 2026-07-01 3.13.0 / 2026-07-01
- 2026-06-22 3.13.0-rc.1 / 2026-06-22 Pre-release
- 2026-07-09 3.13.0-rc.0 / 2026-06-18 Pre-release
- 2026-06-17 3.5.4 / 2026-06-17
- 2026-05-28 3.12.0 / 2026-05-28
Command Glossary
Commands referenced in this DOCs, explained below.
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go get
View Details ▼
go get
Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go get {{example.com/pkg}}
Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:
go get {{example.com/pkg}}@{{v1.2.3}}
Modify the package with a given version in module-aware mode:
go get {{example.com/pkg}}@{{none}}
Remove a specified package:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
promtool
View Details ▼
promtool
Tooling for the Prometheus monitoring system.
promtool check config {{config_file.yml}}
Check if the configuration files are valid or not (if present report errors):
promtool check rules {{rules_file.yml}}
Check if the rule files are valid or not (if present report errors):
curl --silent {{http://example.com:9090/metrics/}} | promtool check metrics
Pass Prometheus metrics over `stdin` to check them for consistency and correctness:
