prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

The Prometheus monitoring system and time series database.

Results 1180 prometheus issues
Sort by recently updated
recently updated
newest added

### Proposal This could reduce memory usage. Currently, both the [series cache](https://github.com/prometheus/prometheus/blob/5f9f01de1451561a4f63a9a6171d3f591e4f9e61/scrape/scrape.go#L969C2-L969C8) and the [dropped series cache](https://github.com/prometheus/prometheus/blob/5f9f01de1451561a4f63a9a6171d3f591e4f9e61/scrape/scrape.go#L973) are implemented as Go maps with the scraped metrics string as the key....

help wanted
kind/enhancement
component/scraping

## Context This is an umbrella issue collecting things we plan to implement for **the stable [Prometheus Remote Write 2.0 (PRW2.0)](https://prometheus.io/docs/specs/prw/remote_write_spec_2_0/) protocol and Prometheus implementation**; also described by the [PROM-35](https://github.com/prometheus/proposals/pull/35)...

component/remote storage

This is to track some ideas from https://github.com/prometheus/prometheus/issues/6934 The current algorithm tries to replay WAL as fast as possible after restart, which can use more memory than the Prometheus use....

help wanted
not-as-easy-as-it-looks
component/wal

This PR resolves issue #13957 This is a second attempt using a file based storage to add persistence for alerts 'keep_firing_for' state which is currently lost whenever Prometheus restarts. Feedback...

# What the Mentorship will explore? During the [March-May/2025 cohort of LFX mentorships](https://github.com/prometheus/prometheus/issues/15909), we performed UX Research to explore users' problems when sending and using OpenTelemetry Resource Attributes to Prometheus....

component/ui
kind/feature
area/opentelemetry

Using `append` leads to more frequent resizing and copying of the slice https://github.com/prometheus/prometheus/blob/6693a913b24cca33b98a2d98f1f954d8415a4583/tsdb/index/postings.go#L537-L543 If we manually double the size of the slice ourselves, this should help with heap fragmentation and...

Azure's Go SDK only has built in support for AzurePublic, AzureChina, and AzureGovernment clouds. Other national/sovereign clouds exist, along with edge scenarios, but they lack built-in SDK support for the...

## Overview This PR adds documentation for the `--storage.agent.wal-truncate-frequency` flag, which I found implemented in [cmd/prometheus/main.go](https://github.com/prometheus/prometheus/blob/main/cmd/prometheus/main.go) but noticed it was not documented. The flag controls how frequently the Write-Ahead Log...

### What did you do? I have a docker-compose.yml and a stack.env and I would like to deploy it using ```bash docker compose --env-file stack.env up -d ``` I **also**...

*This work is under [Google Summer of Code 2024](https://summerofcode.withgoogle.com/programs/2024/projects/s9tV51nw). The last commit before the submission is https://github.com/prometheus/prometheus/pull/14904/commits/7ec814a0b27d31dcb2ae03174077fa7b7499ddeb*. This PR migrates the RW2.0 from [gogo/proto](https://github.com/gogo/protobuf) to [vtproto](https://github.com/planetscale/vtprotobuf/tree/main). The performance and memory...