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

PR to demonstrate the 30 commits introduced by Us #14

Draft
wants to merge 1,074 commits into
base: main
Choose a base branch
from
Draft

Conversation

srikanthccv
Copy link
Member

No description provided.

@srikanthccv srikanthccv mentioned this pull request Jan 27, 2023
roidelapluie and others added 29 commits September 6, 2024 11:11
…ules/github.com/scaleway/scaleway-sdk-go-1.0.0-beta.30

Bump github.com/scaleway/scaleway-sdk-go from 1.0.0-beta.29 to 1.0.0-beta.30
…ules/golang.org/x/oauth2-0.23.0

Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
…ules/golang.org/x/tools-0.24.0

Bump golang.org/x/tools from 0.23.0 to 0.24.0
…ules/github.com/prometheus/common-0.59.0

Bump github.com/prometheus/common from 0.58.0 to 0.59.0
…ules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.20.2

Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.2 in /documentation/examples/remote_storage
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](prometheus/exporter-toolkit@v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo) from 1.121.0 to 1.122.0.
- [Release notes](https://github.com/digitalocean/godo/releases)
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md)
- [Commits](digitalocean/godo@v1.121.0...v1.122.0)

---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…logger

Add support for logging scrape failures to a specified file
Target parameter labels should not be overridden by config params
…ules/github.com/prometheus/exporter-toolkit-0.12.0

Bump github.com/prometheus/exporter-toolkit from 0.11.0 to 0.12.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.58.0 to 0.59.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.58.0...v0.59.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…ules/github.com/prometheus/common-0.59.1

Bump github.com/prometheus/common from 0.58.0 to 0.59.1
…ules/github.com/digitalocean/godo-1.122.0

Bump github.com/digitalocean/godo from 1.121.0 to 1.122.0
…ules/go-opentelemetry-io-14eb93439b

Bump the go-opentelemetry-io group across 1 directory with 6 updates
…ules/golang.org/x/text-0.18.0

Bump golang.org/x/text from 0.17.0 to 0.18.0
…ules/github.com/linode/linodego-1.40.0

Bump github.com/linode/linodego from 1.38.0 to 1.40.0
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.1.1+incompatible to 27.2.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v27.1.1...v27.2.0)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.61 to 1.1.62.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](miekg/dns@v1.1.61...v1.1.62)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ules/github.com/miekg/dns-1.1.62

Bump github.com/miekg/dns from 1.1.61 to 1.1.62
This change causes Prometheus to allow all UTF-8 characters in metric and label names.
This means that names that were previously invalid and would have been previously rejected will be allowed through.

Signed-off-by: Owen Williams <[email protected]>
…#14848)

* Update storage.md with the latest around Remote Write 2.0

Signed-off-by: Bartlomiej Plotka <[email protected]>

* Update storage.md

Signed-off-by: Bartlomiej Plotka <[email protected]>

---------

Signed-off-by: Bartlomiej Plotka <[email protected]>
Signed-off-by: Julien <[email protected]>
…ules/k8s-io-a0fc09b0c0

Bump the k8s-io group across 1 directory with 3 updates
…ules/github.com/docker/docker-27.2.0incompatible

Bump github.com/docker/docker from 27.1.1+incompatible to 27.2.0+incompatible
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/go-zookeeper/zk/releases)
- [Commits](go-zookeeper/zk@v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
juliusv and others added 30 commits September 24, 2024 17:38
…ui-assets-relative

UI: Make mantime UI assets relative
We are still seeing lock contention on MemPostings.mtx, and MemPostings.Delete() is by far the most expensive operation on that mutex.

This adds parallelism to that method, trying to reduce the amount of time we spend with the mutex held.

Signed-off-by: Oleg Zaytsev <[email protected]>
The instant vector documentation does not explain which metric samples are selected - in particular, it makes no reference to staleness.

It's confusing when reading the docs to understand how exactly Prometheus selects the metrics to report: the most recent sample older than the search timestamp specified in the API request, so long as that metric is not "stale".

Signed-off-by: Craig Ringer <[email protected]>
…staleness

Docs: Refer to staleness in instant vector documentation
Signed-off-by: Arthur Silva Sens <[email protected]>
…theus#13909)

* [ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers

So they don't continue to report stale values.

Signed-off-by: Bryan Boreham <[email protected]>
…prometheus#14447)

* scrape/scrape_test.go: reduce the time it takes to reload the manager

TestNativeHistogramMaxSchemaSet took over 3x5s to complete because
there's a minimum reload interval.

I've made the testcases run in parallel and reduced the reload interval
to 10ms. Now the test runs in around 0.1-0.2 seconds.

Ran test 10000 times to check if it's flaky.

Signed-off-by: György Krajcsovits <[email protected]>

---------

Signed-off-by: György Krajcsovits <[email protected]>
…-13959

Remove no-default-scrape-port featureFlag
…t-alert-close-buttons

Remove Query page alert close buttons that don't do anything
The pattern of `import _ "net/http/pprof"` adds handlers to the default
http handler, but Prometheus does not use that. There are explicit
handlers in `web/web.go`.

So, we can remove this line with no impact to behaviour.

Signed-off-by: Bryan Boreham <[email protected]>
This commit introduces a new `/api/v1/notifications/live` endpoint that
utilizes Server-Sent Events (SSE) to stream notifications to the web UI.
This is used to display alerts such as when a configuration reload
has failed.

I opted for SSE over WebSockets because SSE is simpler to implement and
more robust for our use case. Since we only need one-way communication
from the server to the client, SSE fits perfectly without the overhead
of establishing and maintaining a two-way WebSocket connection.

When the SSE connection fails, we go back to a classic
/api/v1/notifications API endpoint.

This commit also contains the required UI changes for the new Mantine UI.

Signed-off-by: Julien <[email protected]>
This switches from the prehistoric EventSource API to the more modern
fetch-event-source package. That packages gives us full control over the
retries.

It also gives us the opportunity to close the event source when the
browser tab is hidden, saving resources.

Signed-off-by: Julien <[email protected]>
…elete-with-gomaxprocs-workers

Process `MemPostings.Delete()` with `GOMAXPROCS` workers
…ling/marshalling is broken.

This went under the radar because the utils are never called directly.

We usually marshall/unmarshal Configs as embeded in a struct using UnmarshalYAMLWithInlineConfigs/MarshalYAMLWithInlineConfigs
which bypasses Configs' custom UnmarshalYAML/MarshalYAML

Signed-off-by: machine424 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.