forked from prometheus/prometheus
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from coleenquadros/update_prom_v0.52.0
Update prometheus to v2.52.0
- Loading branch information
Showing
1,197 changed files
with
214,277 additions
and
51,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,171 +1,33 @@ | ||
--- | ||
version: 2.1 | ||
# Prometheus has switched to GitHub action. | ||
# Circle CI is not disabled repository-wise so that previous pull requests | ||
# continue working. | ||
# This file does not generate any CircleCI workflow. | ||
|
||
orbs: | ||
prometheus: prometheus/[email protected] | ||
go: circleci/[email protected] | ||
win: circleci/[email protected] | ||
version: 2.1 | ||
|
||
executors: | ||
# Whenever the Go version is updated here, .promu.yml | ||
# should also be updated. | ||
golang: | ||
docker: | ||
- image: circleci/golang:1.16-node | ||
golang_115: | ||
docker: | ||
- image: circleci/golang:1.15-node | ||
- image: busybox | ||
|
||
jobs: | ||
test: | ||
executor: golang | ||
|
||
steps: | ||
- prometheus/setup_environment | ||
- go/load-cache: | ||
key: v1 | ||
- restore_cache: | ||
keys: | ||
- v3-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }} | ||
- v3-npm-deps- | ||
- run: | ||
command: make | ||
environment: | ||
# Run garbage collection more aggressively to avoid getting OOMed during the lint phase. | ||
GOGC: "20" | ||
# By default Go uses GOMAXPROCS but a Circle CI executor has many | ||
# cores (> 30) while the CPU and RAM resources are throttled. If we | ||
# don't limit this to the number of allocated cores, the job is | ||
# likely to get OOMed and killed. | ||
GOOPTS: "-p 2" | ||
GOMAXPROCS: "2" | ||
GO111MODULE: "on" | ||
- prometheus/check_proto: | ||
version: "3.12.3" | ||
- prometheus/store_artifact: | ||
file: prometheus | ||
- prometheus/store_artifact: | ||
file: promtool | ||
- go/save-cache: | ||
key: v1 | ||
- save_cache: | ||
key: v3-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }} | ||
paths: | ||
- /home/circleci/.cache/yarn | ||
- store_test_results: | ||
path: test-results | ||
|
||
test_windows: | ||
executor: | ||
name: win/default | ||
shell: powershell | ||
working_directory: /go/src/github.com/prometheus/prometheus | ||
steps: | ||
- checkout | ||
- run: | ||
# Temporary workaround until circleci updates go. | ||
command: | | ||
choco upgrade -y golang | ||
- run: | ||
command: | ||
refreshenv | ||
- run: | ||
command: | | ||
$env:GOARCH=""; $env:GOOS=""; cd web/ui; go generate | ||
cd ../.. | ||
$TestTargets = go list ./... | Where-Object { $_ -NotMatch "(github.com/prometheus/prometheus/discovery.*|github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"} | ||
go test $TestTargets -vet=off -v | ||
environment: | ||
GOGC: "20" | ||
GOOPTS: "-p 2" | ||
|
||
test_tsdb_go115: | ||
executor: golang_115 | ||
steps: | ||
- checkout | ||
- run: go test ./tsdb/... | ||
|
||
test_mixins: | ||
noopjob: | ||
executor: golang | ||
steps: | ||
- checkout | ||
- run: go install ./cmd/promtool/. | ||
- run: | ||
command: go install -mod=readonly github.com/google/go-jsonnet/cmd/jsonnet github.com/google/go-jsonnet/cmd/jsonnetfmt github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb | ||
working_directory: ~/project/documentation/prometheus-mixin | ||
- run: | ||
command: make clean | ||
working_directory: ~/project/documentation/prometheus-mixin | ||
- run: | ||
command: jb install | ||
working_directory: ~/project/documentation/prometheus-mixin | ||
- run: | ||
command: make | ||
working_directory: ~/project/documentation/prometheus-mixin | ||
- run: | ||
command: git diff --exit-code | ||
working_directory: ~/project/documentation/prometheus-mixin | ||
|
||
repo_sync: | ||
executor: golang | ||
steps: | ||
- checkout | ||
- run: ./scripts/sync_repo_files.sh | ||
- run: | ||
command: "true" | ||
|
||
workflows: | ||
version: 2 | ||
prometheus: | ||
jobs: | ||
- test: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test_tsdb_go115: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test_mixins: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test_windows: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- prometheus/build: | ||
name: build | ||
parallelism: 12 | ||
filters: | ||
tags: | ||
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/ | ||
- prometheus/publish_main: | ||
context: org-context | ||
requires: | ||
- test | ||
- build | ||
filters: | ||
branches: | ||
only: main | ||
image: circleci/golang:1-node | ||
- prometheus/publish_release: | ||
context: org-context | ||
requires: | ||
- test | ||
- build | ||
filters: | ||
tags: | ||
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/ | ||
branches: | ||
ignore: /.*/ | ||
image: circleci/golang:1-node | ||
nightly: | ||
- noopjob | ||
triggers: | ||
- schedule: | ||
cron: "0 0 * * *" | ||
cron: "0 0 30 2 *" | ||
filters: | ||
branches: | ||
only: | ||
- main | ||
jobs: | ||
- repo_sync: | ||
context: org-context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
/web/ui @juliusv | ||
/storage/remote @csmarchbanks @cstyan @bwplotka @tomwilkie | ||
/web/ui/module @juliusv @nexucis | ||
/storage/remote @cstyan @bwplotka @tomwilkie | ||
/storage/remote/otlptranslator @aknuds1 @jesusvazquez | ||
/discovery/kubernetes @brancz | ||
/tsdb @codesome | ||
/promql @codesome @roidelapluie | ||
/tsdb @jesusvazquez | ||
/promql @roidelapluie | ||
/cmd/promtool @dgl | ||
/documentation/prometheus-mixin @metalmatze | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
name: Bug report | ||
description: Create a report to help us improve. | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for opening a bug report for Prometheus. | ||
Please do *NOT* ask support questions in Github issues. | ||
If your issue is not a feature request or bug report use our [community support](https://prometheus.io/community/). | ||
There is also [commercial support](https://prometheus.io/support-training/) available. | ||
- type: textarea | ||
attributes: | ||
label: What did you do? | ||
description: Please provide steps for us to reproduce this issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What did you expect to see? | ||
- type: textarea | ||
attributes: | ||
label: What did you see instead? Under which circumstances? | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Environment | ||
- type: input | ||
attributes: | ||
label: System information | ||
description: insert output of `uname -srm` here, or operating system version | ||
placeholder: e.g. Linux 5.16.15 x86_64 | ||
- type: textarea | ||
attributes: | ||
label: Prometheus version | ||
description: Insert output of `prometheus --version` here. | ||
render: text | ||
placeholder: | | ||
e.g. prometheus, version 2.23.0 (branch: HEAD, revision: 26d89b4b0776fe4cd5a3656dfa520f119a375273) | ||
build user: root@37609b3a0a21 | ||
build date: 20201126-10:56:17 | ||
go version: go1.15.5 | ||
platform: linux/amd64 | ||
- type: textarea | ||
attributes: | ||
label: Prometheus configuration file | ||
description: Insert relevant configuration here. Don't forget to remove secrets. | ||
render: yaml | ||
- type: textarea | ||
attributes: | ||
label: Alertmanager version | ||
description: Insert output of `alertmanager --version` here (if relevant to the issue). | ||
render: text | ||
placeholder: | | ||
e.g. alertmanager, version 0.22.2 (branch: HEAD, revision: 44f8adc06af5101ad64bd8b9c8b18273f2922051) | ||
build user: root@b595c7f32520 | ||
build date: 20210602-07:50:37 | ||
go version: go1.16.4 | ||
platform: linux/amd64 | ||
- type: textarea | ||
attributes: | ||
label: Alertmanager configuration file | ||
description: Insert relevant configuration here. Don't forget to remove secrets. | ||
render: yaml | ||
- type: textarea | ||
attributes: | ||
label: Logs | ||
description: Insert Prometheus and Alertmanager logs relevant to the issue here. | ||
render: text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Users mailing list | ||
url: https://groups.google.com/forum/#!forum/prometheus-users | ||
about: Please ask and answer usage questions here. | ||
- name: Prometheus community | ||
- name: Prometheus Community Support | ||
url: https://prometheus.io/community/ | ||
about: List of communication channels for the Prometheus community. | ||
about: If you need help or support, please request help here. | ||
- name: Commercial Support & Training | ||
url: https://prometheus.io/support-training/ | ||
about: If you want commercial support or training, vendors are listed here. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Feature request | ||
description: Suggest an idea for this project. | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: >- | ||
Please do *NOT* ask support questions in Github issues. | ||
If your issue is not a feature request or bug report use | ||
our [community support](https://prometheus.io/community/). | ||
There is also [commercial | ||
support](https://prometheus.io/support-training/) available. | ||
- type: textarea | ||
attributes: | ||
label: Proposal | ||
description: Use case. Why is this important? | ||
placeholder: “Nice to have” is not a good use case. :) | ||
validations: | ||
required: true |
Oops, something went wrong.