Skip to content

Commit 8cc27af

Browse files
authoredMay 3, 2022
fix markdown lint issues (prometheus#10591)
Signed-off-by: André Bauer <andre.bauer@staffbase.com>
1 parent 71dbb4d commit 8cc27af

File tree

7 files changed

+94
-69
lines changed

7 files changed

+94
-69
lines changed
 

‎CHANGELOG.md

+35-20
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
# Changelog
2+
13
## 2.35.0 / 2022-04-21
24

35
This Prometheus release is built with go1.18, which contains two noticeable changes related to TLS:
46

5-
1. [TLS 1.0 and 1.1 disabled by default client-side](https://go.dev/doc/go1.18#tls10).
7+
1. [TLS 1.0 and 1.1 disabled by default client-side](https://go.dev/doc/go1.18#tls10).
68
Prometheus users can override this with the `min_version` parameter of [tls_config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config).
79
2. [Certificates signed with the SHA-1 hash function are rejected](https://go.dev/doc/go1.18#sha1). This doesn't apply to self-signed root certificates.
810

911
* [CHANGE] TSDB: Delete `*.tmp` WAL files when Prometheus starts. #10317
1012
* [CHANGE] promtool: Add new flag `--lint` (enabled by default) for the commands `check rules` and `check config`, resulting in a new exit code (`3`) for linter errors. #10435
1113
* [FEATURE] Support for automatically setting the variable `GOMAXPROCS` to the container CPU limit. Enable with the flag `--enable-feature=auto-gomaxprocs`. #10498
12-
* [FEATURE] PromQL: Extend statistics with total and peak number of samples in a query. Additionally, per-step statistics are available with --enable-feature=promql-per-step-stats and using `stats=all` in the query API.
14+
* [FEATURE] PromQL: Extend statistics with total and peak number of samples in a query. Additionally, per-step statistics are available with --enable-feature=promql-per-step-stats and using `stats=all` in the query API.
1315
Enable with the flag `--enable-feature=per-step-stats`. #10369
1416
* [ENHANCEMENT] Prometheus is built with Go 1.18. #10501
1517
* [ENHANCEMENT] TSDB: more efficient sorting of postings read from WAL at startup. #10500
@@ -41,7 +43,7 @@ Enable with the flag `--enable-feature=per-step-stats`. #10369
4143
* [ENHANCEMENT] UI: Optimize the alerts page and add a search bar. #10142
4244
* [ENHANCEMENT] UI: Improve graph colors that were hard to see. #10179
4345
* [ENHANCEMENT] Config: Allow escaping of `$` with `$$` when using environment variables with external labels. #10129
44-
* [BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset. #10140
46+
* [BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset. #10140
4547
* [BUGFIX] UI: Fix bug that sets the range input to the resolution. #10227
4648
* [BUGFIX] TSDB: Fix a query panic when `memory-snapshot-on-shutdown` is enabled. #10348
4749
* [BUGFIX] Parser: Specify type in metadata parser errors. #10269
@@ -360,7 +362,7 @@ Alertmanager API v2 was released in Alertmanager v0.16.0 (released in January
360362
2019).
361363

362364
* [FEATURE] **experimental** API: Accept remote_write requests. Behind the --enable-feature=remote-write-receiver flag. #8424
363-
* [FEATURE] **experimental** PromQL: Add '@ <timestamp>' modifier. Behind the --enable-feature=promql-at-modifier flag. #8121 #8436 #8425
365+
* [FEATURE] **experimental** PromQL: Add `@ <timestamp>` modifier. Behind the --enable-feature=promql-at-modifier flag. #8121 #8436 #8425
364366
* [ENHANCEMENT] Add optional name property to testgroup for better test failure output. #8440
365367
* [ENHANCEMENT] Add warnings into React Panel on the Graph page. #8427
366368
* [ENHANCEMENT] TSDB: Increase the number of buckets for the compaction duration metric. #8342
@@ -405,12 +407,12 @@ Alertmanager API v2 was released in Alertmanager v0.16.0 (released in January
405407

406408
* [CHANGE] UI: Make the React UI default. #8142
407409
* [CHANGE] Remote write: The following metrics were removed/renamed in remote write. #6815
408-
- `prometheus_remote_storage_succeeded_samples_total` was removed and `prometheus_remote_storage_samples_total` was introduced for all the samples attempted to send.
409-
- `prometheus_remote_storage_sent_bytes_total` was removed and replaced with `prometheus_remote_storage_samples_bytes_total` and `prometheus_remote_storage_metadata_bytes_total`.
410-
- `prometheus_remote_storage_failed_samples_total` -> `prometheus_remote_storage_samples_failed_total` .
411-
- `prometheus_remote_storage_retried_samples_total` -> `prometheus_remote_storage_samples_retried_total`.
412-
- `prometheus_remote_storage_dropped_samples_total` -> `prometheus_remote_storage_samples_dropped_total`.
413-
- `prometheus_remote_storage_pending_samples` -> `prometheus_remote_storage_samples_pending`.
410+
* `prometheus_remote_storage_succeeded_samples_total` was removed and `prometheus_remote_storage_samples_total` was introduced for all the samples attempted to send.
411+
* `prometheus_remote_storage_sent_bytes_total` was removed and replaced with `prometheus_remote_storage_samples_bytes_total` and `prometheus_remote_storage_metadata_bytes_total`.
412+
* `prometheus_remote_storage_failed_samples_total` -> `prometheus_remote_storage_samples_failed_total` .
413+
* `prometheus_remote_storage_retried_samples_total` -> `prometheus_remote_storage_samples_retried_total`.
414+
* `prometheus_remote_storage_dropped_samples_total` -> `prometheus_remote_storage_samples_dropped_total`.
415+
* `prometheus_remote_storage_pending_samples` -> `prometheus_remote_storage_samples_pending`.
414416
* [CHANGE] Remote: Do not collect non-initialized timestamp metrics. #8060
415417
* [FEATURE] [EXPERIMENTAL] Remote write: Allow metric metadata to be propagated via remote write. The following new metrics were introduced: `prometheus_remote_storage_metadata_total`, `prometheus_remote_storage_metadata_failed_total`, `prometheus_remote_storage_metadata_retried_total`, `prometheus_remote_storage_metadata_bytes_total`. #6815
416418
* [ENHANCEMENT] Remote write: Added a metric `prometheus_remote_storage_max_samples_per_send` for remote write. #8102
@@ -586,7 +588,6 @@ This release changes WAL compression from opt-in to default. WAL compression wil
586588
* [BUGFIX] Remote Write: Fixed blocked resharding edge case. #7122
587589
* [BUGFIX] Remote Write: Fixed remote write not updating on relabel configs change. #7073
588590

589-
590591
## 2.17.2 / 2020-04-20
591592

592593
* [BUGFIX] Federation: Register federation metrics #7081
@@ -1002,10 +1003,10 @@ We're rolling back the Dockerfile changes introduced in 2.6.0. If you made chang
10021003

10031004
## 2.4.2 / 2018-09-21
10041005

1005-
The last release didn't have bugfix included due to a vendoring error.
1006+
The last release didn't have bugfix included due to a vendoring error.
10061007

1007-
* [BUGFIX] Handle WAL corruptions properly prometheus/tsdb#389
1008-
* [BUGFIX] Handle WAL migrations correctly on Windows prometheus/tsdb#392
1008+
* [BUGFIX] Handle WAL corruptions properly prometheus/tsdb#389
1009+
* [BUGFIX] Handle WAL migrations correctly on Windows prometheus/tsdb#392
10091010

10101011
## 2.4.1 / 2018-09-19
10111012

@@ -1152,15 +1153,14 @@ This release includes multiple bugfixes and features. Further, the WAL implement
11521153
* [BUGFIX] tsdb: Cleanup and do not retry failing compactions.
11531154
* [BUGFIX] tsdb: Close WAL while shutting down.
11541155

1155-
11561156
## 2.0.0 / 2017-11-08
11571157

11581158
This release includes a completely rewritten storage, huge performance
11591159
improvements, but also many backwards incompatible changes. For more
11601160
information, read the announcement blog post and migration guide.
11611161

1162-
https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/
1163-
https://prometheus.io/docs/prometheus/2.0/migration/
1162+
<https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/>
1163+
<https://prometheus.io/docs/prometheus/2.0/migration/>
11641164

11651165
* [CHANGE] Completely rewritten storage layer, with WAL. This is not backwards compatible with 1.x storage, and many flags have changed/disappeared.
11661166
* [CHANGE] New staleness behavior. Series now marked stale after target scrapes no longer return them, and soon after targets disappear from service discovery.
@@ -1570,7 +1570,7 @@ This release contains multiple breaking changes to the configuration schema.
15701570
This version contains a breaking change to the query language. Please read
15711571
the documentation on the grouping behavior of vector matching:
15721572

1573-
https://prometheus.io/docs/querying/operators/#vector-matching
1573+
<https://prometheus.io/docs/querying/operators/#vector-matching>
15741574

15751575
* [FEATURE] Add experimental Microsoft Azure service discovery
15761576
* [FEATURE] Add `ignoring` modifier for binary operations
@@ -1696,7 +1696,7 @@ BREAKING CHANGES:
16961696
with InfluxDB 0.9.x. 0.8.x versions of InfluxDB are not supported anymore.
16971697
* Escape sequences in double- and single-quoted string literals in rules or query
16981698
expressions are now interpreted like escape sequences in Go string literals
1699-
(https://golang.org/ref/spec#String_literals).
1699+
(<https://golang.org/ref/spec#String_literals>).
17001700

17011701
Future breaking changes / deprecated features:
17021702

@@ -1832,6 +1832,7 @@ All changes:
18321832
* [CLEANUP] Resolve relative paths during configuration loading.
18331833

18341834
## 0.15.1 / 2015-07-27
1835+
18351836
* [BUGFIX] Fix vector matching behavior when there is a mix of equality and
18361837
non-equality matchers in a vector selector and one matcher matches no series.
18371838
* [ENHANCEMENT] Allow overriding `GOARCH` and `GOOS` in Makefile.INCLUDE.
@@ -1949,6 +1950,7 @@ All changes:
19491950
* [CLEANUP] Use new v1 HTTP API for querying and graphing.
19501951

19511952
## 0.14.0 / 2015-06-01
1953+
19521954
* [CHANGE] Configuration format changed and switched to YAML.
19531955
(See the provided [migration tool](https://github.com/prometheus/migrate/releases).)
19541956
* [ENHANCEMENT] Redesign of state-preserving target discovery.
@@ -1974,9 +1976,11 @@ All changes:
19741976
* [ENHANCEMENT] Limit retrievable samples to the storage's retention window.
19751977

19761978
## 0.13.4 / 2015-05-23
1979+
19771980
* [BUGFIX] Fix a race while checkpointing fingerprint mappings.
19781981

19791982
## 0.13.3 / 2015-05-11
1983+
19801984
* [BUGFIX] Handle fingerprint collisions properly.
19811985
* [CHANGE] Comments in rules file must start with `#`. (The undocumented `//`
19821986
and `/*...*/` comment styles are no longer supported.)
@@ -1987,6 +1991,7 @@ All changes:
19871991
* [ENHANCEMENT] Terminate running queries during shutdown.
19881992

19891993
## 0.13.2 / 2015-05-05
1994+
19901995
* [MAINTENANCE] Updated vendored dependencies to their newest versions.
19911996
* [MAINTENANCE] Include rule_checker and console templates in release tarball.
19921997
* [BUGFIX] Sort NaN as the lowest value.
@@ -1997,10 +2002,12 @@ All changes:
19972002
* [BUGFIX] Show correct error on wrong DNS response.
19982003

19992004
## 0.13.1 / 2015-04-09
2005+
20002006
* [BUGFIX] Treat memory series with zero chunks correctly in series maintenance.
20012007
* [ENHANCEMENT] Improve readability of usage text even more.
20022008

20032009
## 0.13.0 / 2015-04-08
2010+
20042011
* [ENHANCEMENT] Double-delta encoding for chunks, saving typically 40% of
20052012
space, both in RAM and on disk.
20062013
* [ENHANCEMENT] Redesign of chunk persistence queuing, increasing performance
@@ -2028,6 +2035,7 @@ All changes:
20282035
* [MAINTENANCE] Updated vendored dependencies to their newest versions.
20292036

20302037
## 0.12.0 / 2015-03-04
2038+
20312039
* [CHANGE] Use client_golang v0.3.1. THIS CHANGES FINGERPRINTING AND INVALIDATES
20322040
ALL PERSISTED FINGERPRINTS. You have to wipe your storage to use this or
20332041
later versions. There is a version guard in place that will prevent you to
@@ -2043,6 +2051,7 @@ All changes:
20432051
* [CHANGE] Makefile uses Go 1.4.2.
20442052

20452053
## 0.11.1 / 2015-02-27
2054+
20462055
* [BUGFIX] Make series maintenance complete again. (Ever since 0.9.0rc4,
20472056
or commit 0851945, series would not be archived, chunk descriptors would
20482057
not be evicted, and stale head chunks would never be closed. This happened
@@ -2055,6 +2064,7 @@ All changes:
20552064
* [ENHANCEMENT] Limit the number of 'dirty' series counted during checkpointing.
20562065

20572066
## 0.11.0 / 2015-02-23
2067+
20582068
* [FEATURE] Introduce new metric type Histogram with server-side aggregation.
20592069
* [FEATURE] Add offset operator.
20602070
* [FEATURE] Add floor, ceil and round functions.
@@ -2079,18 +2089,20 @@ All changes:
20792089
* [CLEANUP] Various code cleanups.
20802090

20812091
## 0.10.0 / 2015-01-26
2092+
20822093
* [CHANGE] More efficient JSON result format in query API. This requires
20832094
up-to-date versions of PromDash and prometheus_cli, too.
20842095
* [ENHANCEMENT] Excluded non-minified Bootstrap assets and the Bootstrap maps
20852096
from embedding into the binary. Those files are only used for debugging,
20862097
and then you can use -web.use-local-assets. By including fewer files, the
20872098
RAM usage during compilation is much more manageable.
2088-
* [ENHANCEMENT] Help link points to https://prometheus.github.io now.
2099+
* [ENHANCEMENT] Help link points to <https://prometheus.github.io> now.
20892100
* [FEATURE] Consoles for haproxy and cloudwatch.
20902101
* [BUGFIX] Several fixes to graphs in consoles.
20912102
* [CLEANUP] Removed a file size check that did not check anything.
20922103

20932104
## 0.9.0 / 2015-01-23
2105+
20942106
* [CHANGE] Reworked command line flags, now more consistent and taking into
20952107
account needs of the new storage backend (see below).
20962108
* [CHANGE] Metric names are dropped after certain transformations.
@@ -2132,10 +2144,12 @@ All changes:
21322144
* [CLEANUP] Removed dead code.
21332145

21342146
## 0.8.0 / 2014-09-04
2147+
21352148
* [ENHANCEMENT] Stagger scrapes to spread out load.
21362149
* [BUGFIX] Correctly quote HTTP Accept header.
21372150

21382151
## 0.7.0 / 2014-08-06
2152+
21392153
* [FEATURE] Added new functions: abs(), topk(), bottomk(), drop_common_labels().
21402154
* [FEATURE] Let console templates get graph links from expressions.
21412155
* [FEATURE] Allow console templates to dynamically include other templates.
@@ -2150,6 +2164,7 @@ All changes:
21502164
* [ENHANCEMENT] Dockerfile also builds Prometheus support tools now.
21512165

21522166
## 0.6.0 / 2014-06-30
2167+
21532168
* [FEATURE] Added console and alert templates support, along with various template functions.
21542169
* [PERFORMANCE] Much faster and more memory-efficient flushing to disk.
21552170
* [ENHANCEMENT] Query results are now only logged when debugging.

‎CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Prometheus Community Code of Conduct
1+
# Prometheus Community Code of Conduct
22

33
Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Prometheus uses GitHub to manage reviews of pull requests.
2121

2222
* Be sure to sign off on the [DCO](https://github.com/probot/dco#how-it-works).
2323

24-
2524
## Steps to Contribute
2625

2726
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on it. This is to prevent duplicated efforts from contributors on the same issue.
@@ -33,7 +32,8 @@ You can [spin up a prebuilt dev environment](https://gitpod.io/#https://github.c
3332
For complete instructions on how to compile see: [Building From Source](https://github.com/prometheus/prometheus#building-from-source)
3433

3534
For quickly compiling and testing your changes do:
36-
```
35+
36+
```bash
3737
# For building.
3838
go build ./cmd/prometheus/
3939
./prometheus

‎MAINTAINERS.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Maintainers
2+
13
Julien Pivotto (<roidelapluie@prometheus.io> / @roidelapluie) and Levi Harrison (<levi@leviharrison.dev> / @LeviHarrison) are the main/default maintainers, some parts of the codebase have other maintainers:
24

35
* `cmd`

0 commit comments

Comments
 (0)
Please sign in to comment.