Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote write 2.0: sync with main branch #13510

Merged
merged 157 commits into from
Feb 2, 2024
Merged

Commits on Nov 3, 2021

  1. consoles: exclude iowait and steal from CPU Utilisation

    'iowait' and 'steal' indicate specific idle/wait states, which shouldn't
    be counted into CPU Utilisation. Also see
    prometheus-operator/kube-prometheus#796 and
    kubernetes-monitoring/kubernetes-mixin#667.
    
    Per the iostat man page:
    
    %idle
        Show the percentage of time that the CPU or CPUs were idle and the
        system did not have an outstanding disk I/O request.
    
    %iowait
         Show the percentage of time that the CPU or CPUs were idle during
         which the system had an outstanding disk I/O request.
    
    %steal
         Show the percentage of time spent in involuntary wait by the
         virtual CPU or CPUs while the hypervisor was servicing another
         virtual processor.
    
    Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
    julianwiedmann committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    690d5d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. tsdb: shrink txRing with smaller integers

    4 billion active transactions ought to be enough for anyone.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    6fe8217 View commit details
    Browse the repository at this point in the history
  2. tsdb: create isolation transaction slice on demand

    When Prometheus restarts it creates every series read in from the WAL,
    but many of those series will be finished, and never receive any more
    samples. By defering allocation of the txRing slice to when it is first
    needed, we save 32 bytes per stale series.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    90e98e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. add cluster variable to Overview dashboard

    Signed-off-by: Erik Sommer <ersotech@posteo.de>
    the-it committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    0e585bf View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. promql: simplify Native Histogram arithmetics

    Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
    linasm committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    7319ad6 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Cut 2.49.0-rc.0 (#13270)

    * Cut 2.49.0-rc.0
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    
    * Removed the duplicate.
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    
    ---------
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    c4c8d59 View commit details
    Browse the repository at this point in the history
  2. Add unit protobuf parser

    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    5d5acf5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Go on adding protobuf parsing for unit

    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    9fb1e97 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. ui: create a reproduction for #13292

    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    machine424 committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    ea97086 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Get conditional right

    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    b65021d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d6a92a View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Get VM Scale Set NIC (#13283)

    Calling `*armnetwork.InterfacesClient.Get()` doesn't work for Scale Set
    VM NIC, because these use a different Resource ID format.
    
    Use `*armnetwork.InterfacesClient.GetVirtualMachineScaleSetNetworkInterface()`
    instead.  This needs both the scale set name and the instance ID, so
    add an `InstanceID` field to the `virtualMachine` struct.  `InstanceID`
    is empty for a VM that isn't a ScaleSetVM.
    
    Signed-off-by: Daniel Nicholls <daniel.nicholls@resdiary.com>
    daniel-resdiary authored and bwplotka committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    d79ad81 View commit details
    Browse the repository at this point in the history
  2. Cut v2.49.0-rc.1

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    20b4ef5 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Delete debugging lines, amend error message for unit

    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    51e78d9 View commit details
    Browse the repository at this point in the history
  2. Correct order in error message

    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    9a664b5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #13314 from prometheus/cut-2.49-rc.1

    Cut 2.49 rc.1 + cherry pick Azure fix
    bwplotka committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    1e30685 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. Consider storage.ErrTooOldSample as non-retryable

    Signed-off-by: Daniel Kerbel <nmdanny@gmail.com>
    nmdanny committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    b2185d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. scrape_test.go: Increase scrape interval in TestScrapeLoopCache to re…

    …duce potential flakiness
    
    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    machine424 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2f60177 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Avoid creating string for suffix, consider counters without _total su…

    …ffix
    
    Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
    vesari committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    8f07f9d View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. build(deps): bump github.com/prometheus/client_golang

    Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
    - [Release notes](https://github.com/prometheus/client_golang/releases)
    - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
    - [Commits](prometheus/client_golang@v1.17.0...v1.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/client_golang
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    1536320 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump actions/setup-node from 3.8.1 to 4.0.1

    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.1.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@5e21ff4...b39b52d)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    b90554f View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. scripts: sort file list in embed directive

    Otherwise the resulting string depends on find, which afaict depends on
    the underlying filesystem. A stable file list make it easier to detect
    UI changes in downstreams that need to track UI assets.
    
    Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
    jan--f committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f29e0ad View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Fix DataTableProps['data'] for resultType string

    Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
    kevinmingtarja committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    c126c21 View commit details
    Browse the repository at this point in the history
  2. Fix handling of scalar and string in isHeatmapData

    Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
    kevinmingtarja committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    40941d4 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Merge pull request #13354 from prometheus/dependabot/go_modules/docum…

    …entation/examples/remote_storage/github.com/prometheus/client_golang-1.18.0
    
    build(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 in /documentation/examples/remote_storage
    bwplotka committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    cdc5184 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump github.com/influxdata/influxdb

    Bumps [github.com/influxdata/influxdb](https://github.com/influxdata/influxdb) from 1.11.2 to 1.11.4.
    - [Release notes](https://github.com/influxdata/influxdb/releases)
    - [Commits](influxdata/influxdb@v1.11.2...v1.11.4)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/influxdata/influxdb
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    377c750 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump github.com/prometheus/prometheus

    Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus) from 0.48.0 to 0.48.1.
    - [Release notes](https://github.com/prometheus/prometheus/releases)
    - [Changelog](https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md)
    - [Commits](v0.48.0...v0.48.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/prometheus
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    cef6eba View commit details
    Browse the repository at this point in the history
  4. Bump client_golang to v1.18.0 (#13373)

    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    tpaschalis committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    bb9503c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #13335 from nmdanny/patch-1

    remote: consider storage.ErrTooOldSample as non-retryable by returning 400
    bboreham committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    6d2e0a7 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Drop old inmemory samples (#13002)

    * Drop old inmemory samples
    
    Co-authored-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Avoid copying timeseries when the feature is disabled
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Run gofmt
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Clarify docs
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Add more logging info
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Remove loggers
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * optimize function and add tests
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Simplify filter
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * rename var
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Update help info from metrics
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * use metrics to keep track of drop elements during buildWriteRequest
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * rename var in tests
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * pass time.Now as parameter
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Change buildwriterequest during retries
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Revert "Remove loggers"
    
    This reverts commit 54f91df.
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * use log level debug for loggers
    
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    
    * Fix linter
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Remove noisy debug-level logs; add 'reason' label to drop metrics
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Remove accidentally committed files
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Propagate logger to buildWriteRequest to log dropped data
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Fix docs comment
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Make drop reason more specific
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Remove unnecessary pass of logger
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Use snake_case for reason label
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    * Fix dropped samples metric
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    
    ---------
    
    Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Signed-off-by: Marc Tuduri <marctc@protonmail.com>
    Signed-off-by: Paschalis Tsilias <tpaschalis@users.noreply.github.com>
    Co-authored-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
    Co-authored-by: Paschalis Tsilias <tpaschalis@users.noreply.github.com>
    3 people committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    78c5ce3 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Merge pull request #13371 from kevinmingtarja/fix-isHeatmapData

    ui: fix handling of scalar and string in isHeatmapData
    bwplotka committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    775d955 View commit details
    Browse the repository at this point in the history
  2. fix(discovery): allow requireUpdate util to timeout in discovery/file…

    …/file_test.go.
    
    The loop ran indefinitely if the condition isn't met.
    
    Before, each iteration created a new timer channel which was always outpaced by
    the other timer channel with smaller duration.
    
    minor detail: There was a memory leak: resources of the ~10 previous timers were
    constantly kept. With the fix, we may keep the resources of one timer around for defaultWait
    but this isn't worth the changes to make it right.
    
    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    machine424 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    afc0512 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Merge pull request #13371 from kevinmingtarja/fix-isHeatmapData

    ui: fix handling of scalar and string in isHeatmapData
    bwplotka committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    d4a6bc0 View commit details
    Browse the repository at this point in the history
  2. tsdb/{index,compact}: allow using custom postings encoding format (#1…

    …3242)
    
    * tsdb/{index,compact}: allow using custom postings encoding format
    
    We would like to experiment with a different postings encoding format in
    Thanos so in this change I am proposing adding another argument to
    `NewWriter` which would allow users to change the format if needed.
    Also, wire the leveled compactor so that it would be possible to change
    the format there too.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    
    * tsdb/compact: use a struct for leveled compactor options
    
    As discussed on Slack, let's use a struct for the options in leveled
    compactor.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    
    * tsdb: make changes after Bryan's review
    
    - Make changes less intrusive
    - Turn the postings encoder type into a function
    - Add NewWriterWithEncoder()
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    
    ---------
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    61b4080 View commit details
    Browse the repository at this point in the history
  3. Cut 2.49.0-rc.2

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    abbcdc6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #13382 from prometheus/cut-2.49-rc2

    Cut 2.49.0-rc.2 + cherry pick of UI fix #13371
    bwplotka committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    0a88bcb View commit details
    Browse the repository at this point in the history
  5. build(deps): bump actions/setup-go from 3.5.0 to 5.0.0 in /scripts (#…

    …13362)
    
    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.5.0 to 5.0.0.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@6edd440...0c52d54)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    3c44fbc View commit details
    Browse the repository at this point in the history
  6. build(deps): bump github/codeql-action from 2.22.8 to 3.22.12 (#13358)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.8 to 3.22.12.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@407ffaf...012739e)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    88a6b3a View commit details
    Browse the repository at this point in the history
  7. put @Nexucis has a release shepherd (#13383)

    Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
    Nexucis committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    6cd24d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Merge pull request #13299 from vesari/add-unit-parser

    protobuf: add unit parser
    beorn7 committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    3db4596 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Add analyze histograms command to promtool (#12331)

    Add `query analyze` command to promtool
    
    This command analyzes the buckets of classic and native histograms,
    based on data queried from the Prometheus query API, i.e. it
    doesn't require direct access to the TSDB files.
    
    Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
    
    ---------
    
    Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
    zenador committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    6150e1c View commit details
    Browse the repository at this point in the history
  2. included instance in all necessary descriptions

    Signed-off-by: Erik Sommer <ersotech@posteo.de>
    the-it committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    d09d77b View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. tsdb/compact: fix passing merge func

    Fixing a very small logical problem I've introduced :(.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    9b75913 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. tsdb: add enable overlapping compaction

    This functionality is needed in downstream projects because they have a
    separate component that does compaction.
    
    Upstreaming
    https://github.com/grafana/mimir-prometheus/blob/7c8e9a2a76fc729e9078889782928b2fdfe240e9/tsdb/compact.go#L323-L325.
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    3a48adc View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    4fbd406 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13391 from GiedriusS/compact_merge_func

    tsdb/compact: fix passing merge func
    SuperQ committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1792062 View commit details
    Browse the repository at this point in the history
  3. Cut 2.49.0

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    cf50f85 View commit details
    Browse the repository at this point in the history
  4. promtool: allow setting multiple matchers to "promtool tsdb dump" com…

    …mand. (#13296)
    
    Conditions are ANDed inside the same matcher but matchers are ORed
    
    Including unit tests for "promtool tsdb dump".
    
    Refactor some matchers scraping utils.
    
    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    machine424 committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    ace9c8a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #13397 from prometheus/cut-2.49.0

    Cut 2.49.0
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    683a46c View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into merge-2.49.0-back

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    db3544c View commit details
    Browse the repository at this point in the history
  7. Fixed changelog

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    09d3516 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #13399 from prometheus/merge-2.49.0-back

    Merge 2.49.0 release to main
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    90000a2 View commit details
    Browse the repository at this point in the history
  9. tsdb/main: wire "EnableOverlappingCompaction" to tsdb.Options (#13398)

    This added the #13393
    "EnableOverlappingCompaction" parameter to the compactor code but not to
    the tsdb.Options. I forgot about that. Add it to `tsdb.Options` too and
    set it to `true` in Prometheus.
    
    Copy/paste the description from
    #13393 (comment)
    
    Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
    GiedriusS committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    b695e06 View commit details
    Browse the repository at this point in the history
  10. Issue #13268: fix quality value in accept header

    Signed-off-by: Kumar Kalpadiptya Roy <kalpadiptya.roy@outlook.com>
    kalpadiptyaroy authored and bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    e61e593 View commit details
    Browse the repository at this point in the history
  11. Cut 2.49.1 with scrape q= bugfix.

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    65a101c View commit details
    Browse the repository at this point in the history
  12. Merge pull request #13402 from prometheus/cut-2.49.1

    Cut 2.49.1 with scrape q= bugfix.
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    9947cb2 View commit details
    Browse the repository at this point in the history
  13. Cut 2.49.1 web package.

    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    216b5ed View commit details
    Browse the repository at this point in the history
  14. Merge pull request #13404 from prometheus/added-missing-web

    Cut 2.49.1 web package.
    bwplotka committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    43e1484 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Restore more efficient version of NewPossibleNonCounterInfo annotation (

    #13022)
    
    Restore more efficient version of NewPossibleNonCounterInfo annotation
    
    Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
    
    ---------
    
    Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
    zenador committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    72a8f10 View commit details
    Browse the repository at this point in the history
  2. Fix regressions introduced by #13242

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    7852a7c View commit details
    Browse the repository at this point in the history
  3. fix slice copy in 1.20 (#13389)

    The slices package is added to the standard library in Go 1.21;
    we need to import from the exp area to maintain compatibility with Go 1.20.
    
    Signed-off-by: tyltr <tylitianrui@126.com>
    tylitianrui committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    1fa131e View commit details
    Browse the repository at this point in the history
  4. Docs: Query Basics: link to rate (#10538)

    Co-authored-by: Julien Pivotto <roidelapluie@o11y.eu>
    tredondo and roidelapluie committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    73bbeaa View commit details
    Browse the repository at this point in the history
  5. chore(kubernetes): check preconditions earlier and avoid unnecessary …

    …checks or iterations
    
    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    machine424 committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    2d01e56 View commit details
    Browse the repository at this point in the history
  6. Examples: link to rate for new users (#10535)

    * Examples: link to `rate` for new users
    
    Signed-off-by: Ted Robertson 10043369+tredondo@users.noreply.github.com
    Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
    tredondo and bboreham committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    cf9e934 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #13180 from the-it/esommer/cluster_swtich_dashboard

    add cluster variable to Overview dashboard
    metalmatze committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    99b12b5 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #13407 from pracucci/fix-13242-regressions

    Fix regressions introduced by #13242
    bboreham committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    7153f61 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. promql: use natural sort in sort_by_label and sort_by_label_desc (#13411

    )
    
    These functions are intended for humans, as robots can already sort the results
    however they please. Humans like things sorted "naturally":
    
    * https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/
    
    A similar thing has been done to Grafana, which is also used by humans:
    
    * grafana/grafana#78024
    * grafana/grafana#78494
    
    Signed-off-by: Ivan Babrou <github@ivan.computer>
    bobrik committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    a6b35ff View commit details
    Browse the repository at this point in the history
  2. TestLabelValuesWithMatchers: Add test case

    Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
    aknuds1 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8598150 View commit details
    Browse the repository at this point in the history
  3. remove obsolete build tag

    Signed-off-by: tyltr <tylitianrui@126.com>
    tylitianrui committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f97fa27 View commit details
    Browse the repository at this point in the history
  4. Upgrade some golang dependencies for resty 2.11

    Signed-off-by: Israel Blancas <iblancasa@gmail.com>
    iblancasa committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    c0a66e5 View commit details
    Browse the repository at this point in the history
  5. Native Histograms: support native_histogram_min_bucket_factor in sc…

    …rape_config (#13222)
    
    Native Histograms: support native_histogram_min_bucket_factor in scrape_config
    
    ---------
    
    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    Signed-off-by: Björn Rabenstein <github@rabenste.in>
    Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
    Co-authored-by: Björn Rabenstein <github@rabenste.in>
    3 people committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    df2a0ec View commit details
    Browse the repository at this point in the history
  6. Add warnings for histogramRate applied with isCounter not matching co…

    …unter/gauge histogram (#13392)
    
    Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram
    
    ---------
    
    Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
    zenador committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    a3ddfbd View commit details
    Browse the repository at this point in the history
  7. Merge pull request #13416 from tylitianrui/feat/remove_obsolete_build…

    …_tag
    
    remove  obsolete build tag
    roidelapluie committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    4f941bb View commit details
    Browse the repository at this point in the history
  8. Merge pull request #13363 from jan--f/embed.go-sorted-file-list

    scripts: sort file list in embed directive
    roidelapluie committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    fb74a3e View commit details
    Browse the repository at this point in the history
  9. Merge pull request #13353 from prometheus/dependabot/go_modules/docum…

    …entation/examples/remote_storage/github.com/prometheus/prometheus-0.48.1
    
    build(deps): bump github.com/prometheus/prometheus from 0.48.0 to 0.48.1 in /documentation/examples/remote_storage
    roidelapluie committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    00c8dd5 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #13352 from prometheus/dependabot/go_modules/docum…

    …entation/examples/remote_storage/github.com/influxdata/influxdb-1.11.4
    
    build(deps): bump github.com/influxdata/influxdb from 1.11.2 to 1.11.4 in /documentation/examples/remote_storage
    roidelapluie committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    d3dfe48 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Minor fixes to otlp vendor update script

    Signed-off-by: Goutham <gouthamve@gmail.com>
    gouthamve committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    aee6896 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13417 from iblancasa/upgrade-deps

    Upgrade some golang dependencies for resty 2.11
    roidelapluie committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    c860b52 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #13415 from aknuds1/arve/test-label-values-with-ma…

    …tchers-one-more
    
    TestLabelValuesWithMatchers: Add test case
    roidelapluie committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f52605b View commit details
    Browse the repository at this point in the history
  4. build(deps): bump github.com/hetznercloud/hcloud-go/v2

    Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) from 2.4.0 to 2.6.0.
    - [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
    - [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md)
    - [Commits](hetznercloud/hcloud-go@v2.4.0...v2.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/hetznercloud/hcloud-go/v2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    110ba0a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #13422 from prometheus/dependabot/go_modules/githu…

    …b.com/hetznercloud/hcloud-go/v2-2.6.0
    
    build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.4.0 to 2.6.0
    roidelapluie committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    69dd822 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #13408 from machine424/save-cycles

    chore(kubernetes): check preconditions earlier and avoid unnecessary checks or iterations
    roidelapluie committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    ee3edc4 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #13356 from prometheus/dependabot/github_actions/a…

    …ctions/setup-node-4.0.1
    
    build(deps): bump actions/setup-node from 3.8.1 to 4.0.1
    roidelapluie committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    d390665 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #13169 from gouthamve/fix-vendoring-script

    otlp: Minor cosmetic fixes to the update script
    gouthamve committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    0524b88 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #13267 from linasm/simplify-native-histogram-math

    promql: simplify Native Histogram arithmetics
    beorn7 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    bfbb13c View commit details
    Browse the repository at this point in the history
  10. Merge pull request #13380 from machine424/fixes

    fix(discovery tests): allow requireUpdate util to timeout in discovery/file…
    bboreham committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    b9952ff View commit details
    Browse the repository at this point in the history
  11. Merge pull request #13336 from machine424/flakky

    scrape_test.go: Increase scrape interval in TestScrapeLoopCache
    to reduce potential flakiness.
    bboreham committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    4ad9b6d View commit details
    Browse the repository at this point in the history
  12. Enhanced visibility for promtool test rules with JSON colored forma…

    …tting (#13342)
    
    * Added diff flag for unit test to improvise readability & debugging
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Removed blank spaces
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Fixed linting error
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Added cli flags to documentation
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Revert unrrelated linting fixes
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Fixed review suggestions
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Cleanup
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Updated flag description
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    * Updated flag description
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
    rewanthtammana committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    102fd8c View commit details
    Browse the repository at this point in the history
  13. storage: skip merging when no remote storage configured

    Prometheus is hard-coded to use a fanout storage between TSDB and
    a remote storage which by default is empty.
    This change detects the empty storage and skips merging between
    result sets, which would make `Select()` sort results.
    
    Bottom line: we skip a sort unless there really is some remote storage
    configured.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    63cdd6d View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Remove csmarchbanks from remote write owners (#13432)

    I have not had the time to keep up with remote write and have no plans
    to work on it in the near future so I am withdrawing my maintainership
    of that part of the codebase. I continue to focus on client_python.
    
    Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
    csmarchbanks committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    65cf528 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. add more context cancellation check at evaluation time

    Signed-off-by: Ben Ye <benye@amazon.com>
    yeya24 committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    d778591 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Merge pull request #13427 from bboreham/skip-empty-merge

    storage: skip merging when no remote storage configured
    bboreham committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0fe7ba9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13437 from yeya24/check-ctx-eval-series

    Add more context cancellation check at evaluation time
    bboreham committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    c095ba2 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Optimize label values with matchers by taking shortcuts (#13426)

    Don't calculate postings beforehand: we may not need them. If all
    matchers are for the requested label, we can just filter its values.
    
    Also, if there are no values at all, no need to run any kind of
    logic.
    
    Also add more labelValuesWithMatchers benchmarks
    
    Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
    colega committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    ed172a6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9593 from julianwiedmann/cpu-utilisation

    consoles: exclude iowait and steal from CPU Utilisation
    SuperQ committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    10428e2 View commit details
    Browse the repository at this point in the history
  3. Add automatic memory limit handling

    Enable automatic detection of memory limits and configure GOMEMLIMIT to
    match.
    * Also includes a flag to allow controlling the reserved ratio.
    
    Signed-off-by: SuperQ <superq@gmail.com>
    SuperQ committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    2c0f9d1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #13395 from prometheus/superq/automemlimit

    Signed-off-by: Ben Kochie <superq@gmail.com>
    SuperQ committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8107bd2 View commit details
    Browse the repository at this point in the history
  5. Update OSSF badge link (#13433)

    Provide a more user friendly interface
    
    Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
    mmorel-35 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7bbae70 View commit details
    Browse the repository at this point in the history
  6. SD Managers taking over responsibility for registration of debug metr…

    …ics (#13375)
    
    SD Managers take over responsibility for SD metrics registration
    
    ---------
    
    Signed-off-by: Paulin Todev <paulin.todev@gmail.com>
    Signed-off-by: Björn Rabenstein <github@rabenste.in>
    Co-authored-by: Björn Rabenstein <github@rabenste.in>
    ptodev and beorn7 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    78411d5 View commit details
    Browse the repository at this point in the history
  7. Optimize histogram iterators (#13340)

    Optimize histogram iterators
    
    Histogram iterators allocate new objects in the AtHistogram and
    AtFloatHistogram methods, which makes calculating rates over long
    ranges expensive.
    
    In #13215 we allowed an existing object to be reused
    when converting an integer histogram to a float histogram. This commit follows
    the same idea and allows injecting an existing object in the AtHistogram and
    AtFloatHistogram methods. When the injected value is nil, iterators allocate
    new histograms, otherwise they populate and return the injected object.
    
    The commit also adds a CopyTo method to Histogram and FloatHistogram which
    is used in the BufferedIterator to overwrite items in the ring instead of making
    new copies.
    
    Note that a specialized HPoint pool is needed for all of this to work 
    (`matrixSelectorHPool`).
    
    ---------
    
    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
    fpetkovski and krajorama committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    583f3e5 View commit details
    Browse the repository at this point in the history
  8. doc: Mark mad_over_time as experimental (#13440)

    We forgot to do that in
    #13059
    
    Signed-off-by: beorn7 <beorn@grafana.com>
    beorn7 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    89523cf View commit details
    Browse the repository at this point in the history
  9. Change metric label for Puppetdb from 'http' to 'puppetdb'

    Signed-off-by: Paulin Todev <paulin.todev@gmail.com>
    ptodev committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    53589fd View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. mirror metrics.proto change & generate code

    Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
    fatsheep9146 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    033c9b2 View commit details
    Browse the repository at this point in the history
  2. TestHeadLabelValuesWithMatchers: Add test case (#13414)

    Add test case to TestHeadLabelValuesWithMatchers, while fixing a couple
    of typos in other test cases. Also enclosing some implicit sub-tests in a
    `t.Run` call to make them explicitly sub-tests.
    
    Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
    aknuds1 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    ba7012e View commit details
    Browse the repository at this point in the history
  3. update all go dependencies (#13438)

    Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
    Nexucis committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    9a9e73b View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. build(deps): bump the k8s-io group with 2 updates (#13454)

    Bumps the k8s-io group with 2 updates: [k8s.io/api](https://github.com/kubernetes/api) and [k8s.io/client-go](https://github.com/kubernetes/client-go).
    
    
    Updates `k8s.io/api` from 0.28.4 to 0.29.1
    - [Commits](kubernetes/api@v0.28.4...v0.29.1)
    
    Updates `k8s.io/client-go` from 0.28.4 to 0.29.1
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.28.4...v0.29.1)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/api
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: k8s-io
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: k8s-io
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    94ced72 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump the go-opentelemetry-io group with 1 update (#13453)

    Bumps the go-opentelemetry-io group with 1 update: [go.opentelemetry.io/collector/semconv](https://github.com/open-telemetry/opentelemetry-collector).
    
    
    Updates `go.opentelemetry.io/collector/semconv` from 0.92.0 to 0.93.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md)
    - [Commits](open-telemetry/opentelemetry-collector@v0.92.0...v0.93.0)
    
    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/collector/semconv
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-opentelemetry-io
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    7f83769 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0 (#13355)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@a8a3f3a...c7d193f)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    97c186e View commit details
    Browse the repository at this point in the history
  4. build(deps): bump bufbuild/buf-push-action (#13357)

    Bumps [bufbuild/buf-push-action](https://github.com/bufbuild/buf-push-action) from 342fc4cdcf29115a01cf12a2c6dd6aac68dc51e1 to a654ff18effe4641ebea4a4ce242c49800728459.
    - [Release notes](https://github.com/bufbuild/buf-push-action/releases)
    - [Commits](bufbuild/buf-push-action@342fc4c...a654ff1)
    
    ---
    updated-dependencies:
    - dependency-name: bufbuild/buf-push-action
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    1069c1f View commit details
    Browse the repository at this point in the history
  5. Merge pull request #13015 from bboreham/smaller-txring

    tsdb: make transaction isolation data structures smaller
    bboreham committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    3f30ad3 View commit details
    Browse the repository at this point in the history
  6. Labels: Add DropMetricName function, used in PromQL (#13446)

    This function is called very frequently when executing PromQL functions,
    and we can do it much more efficiently inside Labels.
    
    In the common case that `__name__` comes first in the labels, we simply
    re-point to start at the next label, which is nearly free.
    
    `DropMetricName` is now so cheap I removed the cache - benchmarks show
    everything still goes faster.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    74b73d1 View commit details
    Browse the repository at this point in the history
  7. tsdb: simplify internal series delete function (#13261)

    Lifting an optimisation from Agent code, `seriesHashmap.del` can use
    the unique series reference, doesn't need to check Labels.
    Also streamline the logic for deleting from `unique` and `conflicts` maps,
    and add some comments to help the next person.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    b9eab6e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    52fa586 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #13463 from prometheus/nexucis/merge-back

    Merging back release v2.49.1 to main
    Nexucis committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    599ad93 View commit details
    Browse the repository at this point in the history
  10. otlptranslator/update-copy.sh: Fix sed command lines

    Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
    aknuds1 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    660df34 View commit details
    Browse the repository at this point in the history
  11. Rollback k8s.io requirements (#13462)

    Rollback k8s.io Go modules to v0.28.6 to avoid forcing upgrade of Go to
    1.21. This allows us to keep compatibility with the currently supported
    upstream Go releases.
    
    Signed-off-by: SuperQ <superq@gmail.com>
    SuperQ committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    c3b8ef1 View commit details
    Browse the repository at this point in the history
  12. Make update-copy.sh work for both OSX and GNU sed

    Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
    aknuds1 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    de28494 View commit details
    Browse the repository at this point in the history
  13. Name @beorn7 and @krajorama as maintainers for native histograms

    I have been the de-facto maintainer for native histograms from the
    beginning. So let's put this into MAINTAINERS.md.
    
    In addition, I hereby proposose George Krajcsovits AKA Krajo as a
    co-maintainer. He has contributed a lot of native histogram code, but
    more importantly, he has contributed substantially to reviewing other
    contributors' native histogram code, up to a point where I was merely
    rubberstamping the PRs he had already reviewed. I'm confident that he
    is ready to to be granted commit rights as outlined in the
    "Maintainers" section of the governance:
    https://prometheus.io/governance/#maintainers
    
    According to the same section of the governance, I will announce the
    proposed change on the developers mailing list and will give some time
    for lazy consensus before merging this PR.
    
    Signed-off-by: beorn7 <beorn@grafana.com>
    beorn7 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    fe35f2d View commit details
    Browse the repository at this point in the history
  14. Merge pull request #13449 from fatsheep9146/native-histogram-support-…

    …exemplar
    
    scrape: Prometheus server support exemplar in native histogram
    beorn7 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    0fe34f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. ui/fix: correct url handling for stacked graphs (#13460)

    Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
    Loori-R committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a598ddf View commit details
    Browse the repository at this point in the history
  2. tsdb: use cheaper Mutex on series

    Mutex is 8 bytes; RWMutex is 24 bytes and much more complicated. Since
    `RLock` is only used in two places, `UpdateMetadata` and `Delete`,
    neither of which are hotspots, we should use the cheaper one.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    66237c1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #13464 from aknuds1/arve/fix-update-copy

    otlptranslator/update-copy.sh: Fix sed command lines
    gouthamve committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    fb552d2 View commit details
    Browse the repository at this point in the history
  4. Fix last_over_time for native histograms

    The last_over_time retains a histogram sample without making a copy.
    This sample is now coming from the buffered iterator used for windowing functions,
    and can be reused for reading subsequent samples as the iterator progresses.
    
    I would propose copying the sample in the last_over_time function, similar to
    how it is done for rate, sum_over_time and others.
    
    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a577a0a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #13447 from ptodev/update-puppetdb-metric-label

    Change metric label for Puppet SD from 'http' to 'puppetdb'
    roidelapluie committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    960b626 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #13466 from prometheus/beorn7/maintainers

    Name @beorn7 and @krajorama as maintainers for native histograms
    bwplotka committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    5b35381 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #13474 from fpetkovski/hist-last-over-time

    Fix last_over_time for native histograms
    beorn7 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    88d07c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Merge pull request #13477 from prometheus/release-2.50

    Merge release-2.50 branch back into main
    beorn7 committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    bdc3cfd View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Implementation

    NOTE:
    Rebased from main after refactor in #13014
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    940f83a View commit details
    Browse the repository at this point in the history
  2. Add feature flag

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    ed2933c View commit details
    Browse the repository at this point in the history
  3. Refactor concurrency control

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e7758d1 View commit details
    Browse the repository at this point in the history
  4. Optimising dependencies/dependents funcs to not produce new slices ea…

    …ch request
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    0dc7036 View commit details
    Browse the repository at this point in the history
  5. Refactoring

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    94cdfa3 View commit details
    Browse the repository at this point in the history
  6. Rename flag

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    5bda333 View commit details
    Browse the repository at this point in the history
  7. Refactoring for performance, and to allow controller to be overridden

    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    f922534 View commit details
    Browse the repository at this point in the history
  8. Block until all rules, both sync & async, have completed evaluating

    Updated & added tests
    Review feedback nits
    Return empty map if not indeterminate
    Use highWatermark to track inflight requests counter
    Appease the linter
    Clarify feature flag
    
    Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
    Danny Kopping authored and pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    7aa3b10 View commit details
    Browse the repository at this point in the history
  9. Fix typo in CLI flag description

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    ac1c6eb View commit details
    Browse the repository at this point in the history
  10. Fixed auto-generated doc

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    6bbb03b View commit details
    Browse the repository at this point in the history
  11. Improve doc

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    1bb341f View commit details
    Browse the repository at this point in the history
  12. Simplify the design to update concurrency controller once the rule ev…

    …aluation has done
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    21a03dc View commit details
    Browse the repository at this point in the history
  13. Add more test cases to TestDependenciesEdgeCases

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    52bc568 View commit details
    Browse the repository at this point in the history
  14. Added more test cases to TestDependenciesEdgeCases

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    2764c46 View commit details
    Browse the repository at this point in the history
  15. Improved RuleConcurrencyController interface doc

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    23f89c1 View commit details
    Browse the repository at this point in the history
  16. Introduced sequentialRuleEvalController

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    046cd75 View commit details
    Browse the repository at this point in the history
  17. Remove superfluous nil check in Group.metrics

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    cbbbd6e View commit details
    Browse the repository at this point in the history
  18. api: Serialize discovered and target labels into JSON directly (#13469)

    Converted maps into labels.Labels to avoid a lot of copying of data which leads to very high memory consumption while opening the /service-discovery endpoint in the Prometheus UI
    
    Signed-off-by: Leegin <114397475+Leegin-darknight@users.noreply.github.com>
    Leegin-darknight committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e3040bf View commit details
    Browse the repository at this point in the history
  19. api: Serialize discovered labels into JSON directly in dropped targets (

    #13484)
    
    Converted maps into labels.Labels to avoid a lot of copying of data which leads to very high memory consumption while opening the /service-discovery endpoint in the Prometheus UI
    
    Signed-off-by: Leegin <114397475+Leegin-darknight@users.noreply.github.com>
    Leegin-darknight committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    19efd0a View commit details
    Browse the repository at this point in the history
  20. Add ShardedPostings() support to TSDB (#10421)

    This PR is a reference implementation of the proposal described in #10420.
    
    In addition to what described in #10420, in this PR I've introduced labels.StableHash(). The idea is to offer an hashing function which doesn't change over time, and that's used by query sharding in order to get a stable behaviour over time. The implementation of labels.StableHash() is the hashing function used by Prometheus before stringlabels, and what's used by Grafana Mimir for query sharding (because built before stringlabels was a thing).
    
    Follow up work
    As mentioned in #10420, if this PR is accepted I'm also open to upload another foundamental piece used by Grafana Mimir query sharding to accelerate the query execution: an optional, configurable and fast in-memory cache for the series hashes.
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    501bc64 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Merge pull request #13473 from bboreham/pure-mutex

    tsdb: use cheaper Mutex on series
    bboreham committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    cd4562d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #12946 from dannykopping/dannykopping/rule-deps

    Evaluate independent rules concurrently
    gotjosh committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    ae2852b View commit details
    Browse the repository at this point in the history
  3. storage/remote: document why two benchmarks are skipped

    One was silently doing nothing; one was doing something but the work
    didn't go up linearly with iteration count.
    
    Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
    bboreham committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    b9fdf3d View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Merge pull request #13499 from bboreham/tweak-remote-tests

    storage/remote: document why two benchmarks are skipped
    bboreham committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    34875ae View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Pod status changes not discovered by Kube Endpoints SD (#13337)

    * fix(discovery/kubernetes/endpoints): react to changes on Pods because some modifications can occur on them without triggering an update on the related Endpoints (The Pod phase changing from Pending to Running e.g.).
    
    ---------
    
    Signed-off-by: machine424 <ayoubmrini424@gmail.com>
    Co-authored-by: Guillermo Sanchez Gavier <gsanchez@newrelic.com>
    machine424 and gsanchezgavier committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    581d8d8 View commit details
    Browse the repository at this point in the history
  2. Small improvements, add const, remove copypasta (#8106)

    Signed-off-by: Mikhail Fesenko <proggga@gmail.com>
    Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
    proggga committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    5f2c3a5 View commit details
    Browse the repository at this point in the history
  3. Proposal to improve FPointSlice and HPointSlice allocation. (#13448)

    * Reusing points slice from previous series when the slice is under utilized
    * Adding comments on the bench test
    
    Signed-off-by: Alan Protasio <alanprot@gmail.com>
    alanprot committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    c006c57 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into remote-write-2.0

    Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
    npazosmendez committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    93c60f1 View commit details
    Browse the repository at this point in the history
  5. lint

    Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
    npazosmendez committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    96ebccd View commit details
    Browse the repository at this point in the history
  6. go mod tidy

    Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
    npazosmendez committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    8422697 View commit details
    Browse the repository at this point in the history