Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
108b9b0
Limit number of merics in prometheus UI (#5139)
vn-ki Jan 31, 2019
a60431f
Merge v2.7.1 into master (#5170)
simonpasquier Feb 1, 2019
c66aeb3
In histogram_quantile merge buckets with equivalent le values (#5158)
brian-brazil Feb 1, 2019
e158c53
Fix some typos in comment (#5175)
JoeWrightss Feb 1, 2019
a75f8a8
update error message in extractTimeRange (#5179)
zhulongcheng Feb 3, 2019
fd96442
web: predeclare and reuse errors (#5180)
zhulongcheng Feb 4, 2019
2db1eeb
Fix prometheus_rule_group_last_evaluation_timestamp_seconds
Feb 5, 2019
3db36f3
Merge pull request #5186 from prometheus/beorn7/metrics
beorn7 Feb 6, 2019
d26e134
Merge branch 'release-2.7' into beorn7/release
Feb 6, 2019
9b8bbe3
Merge pull request #5187 from prometheus/beorn7/release
gouthamve Feb 6, 2019
9154e9a
Add miekg/dns 1.1.4
Feb 6, 2019
fc10f6d
Unset GO111MODULE variable in Makefile.common (#5191)
simonpasquier Feb 7, 2019
b8f0a41
Update to Bootstrap 4.1.3 (#5192)
jritchieBAE Feb 7, 2019
b26b5c9
Add rendering test of template based web endpoints (#5188)
minhlongdo Feb 8, 2019
a2a6e24
show list of offending labels in the error message in many-to-many sc…
tariq1890 Feb 9, 2019
4cb6c20
Fix fmt.Errorf error message (#5199)
JoeWrightss Feb 10, 2019
ce69dcb
Propose @codesome as 2.8 release shepherd
Feb 11, 2019
8e3a39f
Web UI QoL improvements (#5201)
MashaNemt Feb 11, 2019
6f69e31
Tail the TSDB WAL for remote_write
cstyan Sep 7, 2018
b93bafe
Various fixes to locking & shutdown for WAL-based remote write.
tomwilkie Jan 18, 2019
37e35f9
Various improvements to WAL based remote write.
cstyan Jan 18, 2019
12708ac
scrape: catch errors when creating HTTP clients (#5182)
simonpasquier Feb 13, 2019
b7594f6
Merge pull request #5203 from codesome/shepherd
gouthamve Feb 14, 2019
b41d6d5
storage/remote: increase timeouts for Travis CI (#5224)
simonpasquier Feb 15, 2019
cd569b5
Merge branch 'master' into bootstrap4
juliusv Feb 17, 2019
45b91e8
Fix copy&paste button on /config, move pre style to CSS
juliusv Feb 17, 2019
028e99e
Remove spacing between All/Unhealthy buttons
juliusv Feb 17, 2019
7244ef3
Add more top/bottom spacing for All/Unhealthy buttons
juliusv Feb 17, 2019
7b724ce
Whitespace and other cleanups
juliusv Feb 17, 2019
ed63519
Re-add popper.js to fix target label tooltips
juliusv Feb 17, 2019
661f012
Rebuild web assets
juliusv Feb 17, 2019
fdbaef8
Re-add typeahead license header to minified file
juliusv Feb 17, 2019
87c79b0
Fix console templates (#5228)
sylr Feb 18, 2019
f9462d5
discovery/consul: pass current context to Consul queries
simonpasquier Feb 15, 2019
41dee81
Makefile.common: add check_license by default. (#5236)
krasi-georgiev Feb 19, 2019
a3c41f4
use the default time retention value only when no size retention is s…
krasi-georgiev Feb 19, 2019
09208b1
queryRange: Add more descriptive error messages (#5229)
palash25 Feb 19, 2019
795c989
Merge branch 'master' into bootstrap4
juliusv Feb 19, 2019
f7332c4
Merge pull request #5226 from prometheus/bootstrap4
juliusv Feb 20, 2019
be3c082
discovery/dns/dns.go: fix handling of truncated dns records
Feb 6, 2019
89d36a4
Change http to https for security links (#5238)
vanduc95 Feb 20, 2019
c8a1a5a
discovery/kubernetes: fix support for password_file and bearer_token_…
simonpasquier Feb 20, 2019
aed9ea1
Remove duplicated words in comments
Feb 21, 2019
94f5352
Trivial fix: Fix some typos in comments
longkb Feb 21, 2019
ded80bf
Merge pull request #5246 from truongnh1992/removing-redundant-words
Feb 21, 2019
1d9e11a
Merge pull request #5247 from longkb/fix_typo
Feb 21, 2019
5fbda4c
Secure http links (#5244)
truongnh1992 Feb 21, 2019
23480be
Remove the duplicated words (#5251)
longkb Feb 22, 2019
e4a741c
Replacing 'HTTP' by 'HTTPS' for securing links (#5252)
longkb Feb 22, 2019
362873f
Fix .Log() error message (#5257)
JoeWrightss Feb 22, 2019
e72c875
config: fix Kubernetes config with empty API server (#5256)
simonpasquier Feb 22, 2019
46361a7
rules: Fix sorting of result from (*Manager).RuleGroups (#5260)
dsymonds Feb 23, 2019
ad29221
Merge pull request #5020 from erikh/upgrade-miekg-dns
beorn7 Feb 25, 2019
9de0ab3
Update remaining deprecated links in docs (#5271)
Feb 26, 2019
fe7a1bc
discovery/triton: pass context to the client (#5235)
simonpasquier Feb 26, 2019
9040ddd
discovery/azure: pass context to the client (#5255)
simonpasquier Feb 26, 2019
4997dcb
discovery/gce: pass context to the client (#5233)
simonpasquier Feb 26, 2019
8f578d9
discovery/ec2: pass context to the client (#5234)
simonpasquier Feb 26, 2019
e60d314
discovery/consul: pass current context to Consul queries (#5230)
simonpasquier Feb 26, 2019
1d2fc95
discovery/marathon: pass context to the client (#5232)
simonpasquier Feb 26, 2019
e4b8870
Fix misspell in manager_test.go (#5279)
JoeWrightss Feb 27, 2019
84df210
Update prometheus.io's URL to the latest version (#5270)
longkb Feb 27, 2019
6e68867
Cleanup .gitignore
Feb 28, 2019
37ad4db
Export timestamps in seconds since epoch.
tomwilkie Feb 12, 2019
a5c2064
Refactor WAL watcher to remove some duplication.
tomwilkie Feb 12, 2019
d6f911b
Factor out logging ratelimit & dedupe middleware.
tomwilkie Feb 12, 2019
bdc6b76
If reading the WAL fails, try again. Also, read from the segment con…
tomwilkie Feb 13, 2019
859cda2
Remove some 'global' state, moving segment numbers to parameters.
tomwilkie Feb 13, 2019
184f06a
Combine the record decoding metrics into one; break out garbage colle…
tomwilkie Feb 13, 2019
d6258ae
Fix up remote write tests:
cstyan Feb 14, 2019
adf5307
Update wal LiveReader to ensure EOF is correctly propagated.
tomwilkie Feb 14, 2019
92fcf37
Update vendored TSDB version.
tomwilkie Feb 19, 2019
efbd955
Deal with corruptions in the WAL:
tomwilkie Feb 15, 2019
b69bdfb
Store the checkpoint we read last, so that we don't keep reading the …
cstyan Feb 19, 2019
ee7efa9
Fix some tests.
tomwilkie Feb 19, 2019
f795942
Decrement pending sample when queue exits.
tomwilkie Feb 19, 2019
512f549
Refactor: inline decodeRecord in readSegment and don't bother decodin…
cstyan Feb 20, 2019
b8106dd
Review feedback:
cstyan Feb 20, 2019
d8c06bb
Makefile.common: update promu to v0.3.0 (#5280)
pgier Feb 28, 2019
67da8e7
Refactor and fix queue resharding (#5286)
tomwilkie Mar 1, 2019
535e631
*: cut 2.7.2
gouthamve Mar 1, 2019
82f98c8
Merge pull request #5291 from gouthamve/sevenpointtwo
gouthamve Mar 2, 2019
ab8e9b7
fix typo in queue_manager.go comment (#5294)
tariq1890 Mar 3, 2019
197e5ac
docs: minor improvements to the service discovery README.md (#5296)
tariq1890 Mar 3, 2019
32130cb
Merge pull request #5285 from prometheus/beorn7/cleanup
beorn7 Mar 4, 2019
858c363
Fix panic when aggregator param is not a literal.
brian-brazil Mar 1, 2019
cfb9135
Merge pull request #5290 from prometheus/scalar-crash
Mar 4, 2019
1adb917
fix typo in recordType method of wal_watcher.go (#5297)
tariq1890 Mar 4, 2019
1684dc7
updated tsdb to 0.6.0 (#5292)
krasi-georgiev Mar 4, 2019
2fa9359
More WAL remote_write tweaks. (#5300)
tomwilkie Mar 5, 2019
25889d6
Merge pull request #5298 from prometheus/release-2.7
Mar 5, 2019
adbb57d
Update tsdb to 0.6.1
Mar 5, 2019
225bc77
Merge pull request #5310 from codesome/vendor-tsdb
Mar 5, 2019
38fea83
Debounce input key press handling (#5309)
davkal Mar 6, 2019
d390497
*: cut 2.8.0-rc.0 (#5287)
Mar 6, 2019
981f920
ui: Remove time picker borders
Mar 8, 2019
5a162dc
ui: remove extra table tag in service discovery
Mar 8, 2019
901b82d
Merge pull request #5319 from roidelapluie/border
Mar 11, 2019
46e0587
Merge pull request #5318 from roidelapluie/sdtag
Mar 11, 2019
6152df4
ui: Expand expression_select to 220px
Mar 8, 2019
b61c8e3
Merge pull request #5320 from roidelapluie/exprsize
Mar 11, 2019
9d96ada
Display correct values for the retention in the flags web gui. (#5322)
krasi-georgiev Mar 11, 2019
758a68a
.travis.yml: download modules in advance
simonpasquier Mar 11, 2019
2df0b5e
Merge pull request #5335 from simonpasquier/debug-travis-ci-failures
Mar 12, 2019
6043e0e
*: cut 2.8.0
Mar 11, 2019
5936949
Merge pull request #5333 from codesome/release-2.8.0
Mar 12, 2019
683fbc5
exponentation operator to drop metric name in result of op operation …
infoverload Mar 12, 2019
027d2ec
config: resolve more file paths (#5284)
simonpasquier Mar 12, 2019
04ce817
scrape: Rewrite scrape loop options as a struct (#5314)
roidelapluie Mar 12, 2019
83c46fd
update Consul vendor code so that catalog.ServiceMultipleTags can be …
cstyan Mar 12, 2019
0d1a693
scrape: Add global jitter for HA server (#5181)
xjewer Mar 12, 2019
594626e
Update CHANGELOG
Mar 12, 2019
844af4c
Merge pull request #5340 from codesome/release-2.8.0
Mar 12, 2019
7c8f0b0
Update CHANGELOG (#5341)
Mar 12, 2019
67385f3
discovery/openstack: pass context to the OpenStack client (#5231)
simonpasquier Mar 12, 2019
d6f0e14
fix redundant err!=nil check in web.go (#5346)
tariq1890 Mar 12, 2019
b0be270
Makefile.common: add deps target (#5339)
simonpasquier Mar 13, 2019
9f8e162
Makefile.common: run staticcheck for linux, freebsd and darwin only (…
simonpasquier Mar 14, 2019
5354fff
Fix some spelling issues (#5361)
mjtrangoni Mar 14, 2019
985eaa8
add go 1.12.x to the travis, circleci, and promu YAMLs (#5305)
tariq1890 Mar 14, 2019
8155cc4
Expose lexer item types (#5358)
juliusv Mar 14, 2019
4397916
Add honor_timestamps (#5304)
roidelapluie Mar 15, 2019
23069b8
scrape: fallback to hostname if lookup fails (#5366)
simonpasquier Mar 15, 2019
e15d8c5
reload: copy state on both name and labels (#5368)
jsravn Mar 15, 2019
5f933e9
discovery/azure: make local virtualMachine struct more generic by rem…
tariq1890 Mar 15, 2019
10ec255
promparse: sort all labels when parsing (#5372)
GiedriusS Mar 16, 2019
6c72cdb
Add GODEBUG to the runtime page (#5324)
roidelapluie Mar 18, 2019
c7b3535
Use pkg/relabelling in remote write.
tomwilkie Mar 8, 2019
cbf5f13
Naive string iterning for labes & values in the remote_write path.
tomwilkie Mar 8, 2019
1a7923d
Add ref counting to string interning so we can remove
cstyan Mar 11, 2019
807fd33
Review feedback.
tomwilkie Mar 13, 2019
5603b85
Check if label value is valid when unmarhsaling external labels from
cstyan Mar 14, 2019
b7e978d
web/ui: Fix padding in navbar container (#5371)
metalmatze Mar 18, 2019
0d7104b
discovery/azure:optimize iteration logic for VMScalesets, VMScalesetV…
tariq1890 Mar 20, 2019
2833ad4
vendor: bump github.com/hashicorp/serf (#5378)
simonpasquier Mar 20, 2019
91306bd
Support non POST methods for Lifecycle and Admin APIs (#5376)
bharaththiruveedula-zz Mar 20, 2019
b95f433
Add config for GitHub Lock app (#5392)
SuperQ Mar 22, 2019
782d000
discovery: factorize for SD based on refresh (#5381)
simonpasquier Mar 25, 2019
19152a4
lockbot: don't comment when locking issues (#5402)
gouthamve Mar 25, 2019
0a87dcd
cmd: Warn rather than Info when retention time wraps (#5403)
brian-brazil Mar 25, 2019
8fdfa8a
refine error handling in prometheus (#5388)
tariq1890 Mar 25, 2019
7328cb6
web/ui: display the job label in /targets
simonpasquier Mar 26, 2019
a56484d
Merge pull request #5406 from simonpasquier/fix-job-label-targets
Mar 26, 2019
7a60e22
cmd/promtool: resolve relative paths in alert test files (#5336)
dsymonds Mar 27, 2019
031ee49
*: cut 2.8.1
Mar 28, 2019
4d60eb3
Merge pull request #5413 from codesome/release-2.8.1
Mar 28, 2019
be39482
import the latest patch release of client_golang in prometheus
tariq1890 Mar 29, 2019
1ef6aae
Update CHANGELOG.md
tariq1890 Mar 29, 2019
0afd172
Merge pull request #5416 from prometheus/release-2.8
Mar 29, 2019
e5a427f
Merge pull request #5418 from tariq1890/update_promclient
beorn7 Mar 31, 2019
8c8bb82
Add support for POSTing to /series endpoint (#5422)
bobmshannon Apr 2, 2019
f8932dd
Improve docs for query POST requests (#5428)
bobmshannon Apr 2, 2019
813b583
[OpenStack SD] Add ProjectID and UserID meta labels (#5431)
ntk148v Apr 4, 2019
81c4248
*: bump gRPC and protobuf dependencies (#5367)
simonpasquier Apr 4, 2019
4f47806
discovery/dns: fix slice with wrong length (#5432)
simonpasquier Apr 4, 2019
dd30736
Don't lose the scrape cache on a failed scrape.
brian-brazil Mar 28, 2019
f718497
Protect against memory exhaustion when scraping.
brian-brazil Mar 28, 2019
c2b8899
Remote Write: fix checkpoint reading (#5429)
cstyan Apr 9, 2019
c8ee34d
Put myself down for 2.9 release.
brian-brazil Apr 9, 2019
141a165
Merge pull request #5441 from prometheus/29docs
brancz Apr 9, 2019
0e42449
docs/querying: improve wording (#5442)
squat Apr 9, 2019
c1682ad
Bump prometheus/common to v0.3.0 (#5344)
simonpasquier Apr 10, 2019
dafd163
discovery/kubernetes: add present labels for labels/annotations (#5443)
simonpasquier Apr 10, 2019
e5dbac7
cmd/prometheus: group flags properly (#5419)
simonpasquier Apr 10, 2019
cc75c27
Fix multiple response.WriteHeader calls error in remote read adapter …
qingwave Apr 10, 2019
e4a37d0
Replace select with simpler error check
bboreham Jan 23, 2019
69dd090
Check for cancellation on every step of a range evaluation
bboreham Jan 23, 2019
8ff6938
Update dependencies. (#5449)
brian-brazil Apr 10, 2019
46660a0
Prepare 2.9.0-rc.0 release (#5450)
brian-brazil Apr 10, 2019
bc1c7f1
Fix scalar-vector comparisons (#5454)
juliusv Apr 11, 2019
4d7417f
*: add CI job to synchronize Makefile.common across all repos (#5444)
paulfantom Apr 11, 2019
1a9cdbd
Release 2.9.0 (#5458)
brian-brazil Apr 15, 2019
8dfd829
Docker images for ARM32v7 and ARM64v8 (#5031)
johanneswuerbach Apr 15, 2019
559237c
discovery/kubernetes: fix missing label sanitization (#5462)
simonpasquier Apr 15, 2019
5be9a14
Prevent reshard concurrent with calling stop (#5460)
vsliouniaev Apr 16, 2019
27404e6
better readability for data directory tree in storage docs (#5128)
geekodour Apr 16, 2019
ef19ede
Prevent reshard concurrent with calling stop (#5460)
vsliouniaev Apr 16, 2019
b7169df
discovery/kubernetes: fix missing label sanitization (#5462)
simonpasquier Apr 15, 2019
a9309a2
Prepare 2.9.1
brian-brazil Apr 16, 2019
ad71f27
Merge pull request #5464 from prometheus/rel291
brian-brazil Apr 16, 2019
1d4c9ef
Update Go version in README.md (#5471)
vandewilly Apr 16, 2019
335a344
Add external labels to template expansion
sylr Dec 17, 2018
a92ef68
Fix staticcheck errors
beorn7 Apr 15, 2019
38d518c
Rework #5009 after comments
beorn7 Apr 15, 2019
81acc1d
Update RELEASE.md to reflect mailing list change (#5472)
beorn7 Apr 17, 2019
deeb79f
Merge pull request #5470 from prometheus/mergeback291
brian-brazil Apr 17, 2019
0607462
scripts/sync_makefiles.sh: mask token in logs (#5465)
simonpasquier Apr 17, 2019
3cc5f9d
Make sure subquery range is taken into account for selection (#5467)
gouthamve Apr 17, 2019
35be8c9
Add azure public ip label (#5475)
EarthmanT Apr 17, 2019
95193fa
Exhaust every request body before closing it (#5166) (#5479)
elwinar Apr 18, 2019
7efb8e9
scripts/sync_makefiles.sh: redirect git-push to /dev/null (#5478)
simonpasquier Apr 18, 2019
388caa0
Use github.com/oklog/run not archived oklog/oklog
metalmatze Apr 19, 2019
76102d5
Add test for external labels in label template
beorn7 Apr 20, 2019
abc1994
cmd/promtool: return errors from rule evaluations (#5483)
simonpasquier Apr 23, 2019
b7538e7
Don't stop, recreate, and start remote storage QueueManagers if the (…
cstyan Apr 23, 2019
e87449b
Remote Write: Queue Manager specific metrics shouldn't exist if the q…
cstyan Apr 23, 2019
00036cd
update client-go,api,api-machinery and klog dependencies
tariq1890 Apr 18, 2019
24efe92
Update the required Go version to 1.12 (#5498)
d0ugal Apr 24, 2019
3639d51
Remote Storage: string interner should not panic in release (#5487)
cstyan Apr 24, 2019
f5d54e5
*: enable golangci-lint (#5437)
simonpasquier Apr 24, 2019
aabac9b
Upgrade tsdb to 0.7.1 (#5502)
brian-brazil Apr 24, 2019
3da718c
Make sure subquery range is taken into account for selection (#5467)
gouthamve Apr 17, 2019
f2ca36e
Exhaust every request body before closing it (#5166) (#5479)
elwinar Apr 18, 2019
31a2d14
cmd/promtool: return errors from rule evaluations (#5483)
simonpasquier Apr 23, 2019
23c382e
Remote Storage: string interner should not panic in release (#5487)
cstyan Apr 24, 2019
7f9ff08
Upgrade tsdb to 0.7.1 (#5502)
brian-brazil Apr 24, 2019
cdc2ad0
Cut 2.9.2
brian-brazil Apr 24, 2019
0be9388
Merge pull request #5463 from prometheus/beorn7/templating
beorn7 Apr 24, 2019
d3245f1
Merge pull request #5503 from prometheus/release292
brian-brazil Apr 24, 2019
ad4ba49
Merge pull request #5509 from prometheus/release-2.9
brian-brazil Apr 25, 2019
f04b1b5
Clarify binary operator output label sets (#5512)
juliusv Apr 25, 2019
f874555
Merge pull request #5486 from tariq1890/update_kubernetes
brancz Apr 29, 2019
658b338
The workqueue of service should be `service` other than `ingress`
YaoZengzeng Apr 29, 2019
3cffd81
Merge pull request #5520 from YaoZengzeng/service
brancz Apr 29, 2019
c790d76
Merge pull request #5491 from metalmatze/rungroup
brancz Apr 29, 2019
03b90b4
web/ui: update to Bootstrap 4.3.1 (#5506)
simonpasquier Apr 30, 2019
9c69eec
cmd/promtool: use log.NewNopLogger() (#5531)
simonpasquier May 3, 2019
4550684
*: enable all default linters (#5504)
simonpasquier May 3, 2019
5544cb2
fix some mistakes in comments (#5533)
YaoZengzeng May 5, 2019
dbd7a74
some minor fixes: (#5535)
YaoZengzeng May 6, 2019
bab26d9
Volunteer beorn7 as 2.10 release shepherd
beorn7 May 8, 2019
c8939a6
Merge pull request #5545 from prometheus/beorn7/release
beorn7 May 8, 2019
b98e818
Add scrape_series_added per-scrape metric. (#5546)
brian-brazil May 8, 2019
33f085a
Remove bits about substring matching from the docs (#5549)
semyonslepov May 9, 2019
3a7a743
Consistent Content-Type for js and css (#5551)
mrasu May 9, 2019
36dbf04
Correctly handle {__name__="a"} (#5552)
brian-brazil May 10, 2019
20eb23e
Makefile.common: use v0.4.0 of promu (#5559)
simonpasquier May 14, 2019
43953b1
Sorting alerts by group name in /alerts (#5448)
pbhudiaBAE May 14, 2019
0a34399
Fix minor punctuation and language issues in flag doc strings (#5568)
beorn7 May 15, 2019
3441ecd
discovery/kubernetes: add node name and hostname to endpoints
simonpasquier May 16, 2019
425b07f
Updated the 'consistency-modes' consul.io/api link to point to its ne…
SamuAlfageme May 16, 2019
04f2270
Merge pull request #5571 from simonpasquier/extend-k8s-endpoint-metadata
brancz May 16, 2019
c4b57ac
fix minor issue in the <a> tag of rules.html
tariq1890 May 16, 2019
f448681
logs filesystem type on startup (#5558)
adp-airflow-team-a May 17, 2019
840872a
Fix remote storage config not updating correctly (#5555)
csmarchbanks May 17, 2019
12536f3
Update prometheus/client_golang and prometheus/tsdb modules
beorn7 May 17, 2019
aff4738
Adjust TestQueryRange to new Prometheus API client
beorn7 May 17, 2019
6b95670
Merge pull request #5576 from prometheus/beorn7/mod
beorn7 May 17, 2019
aeb3af4
Merge pull request #5573 from tariq1890/fix_html
beorn7 May 20, 2019
1c0df5b
update consul and dns dependencies
tariq1890 May 20, 2019
0652b51
Merge pull request #5583 from tariq1890/update_consul
beorn7 May 20, 2019
d6a4daa
web api: handle alert with Infinity/NaN values (#5582)
holycheater May 21, 2019
d81df56
fix nil pointer dereference in azure discovery (#5587)
May 21, 2019
2f0a929
Cut v2.10.0-rc.0
beorn7 May 21, 2019
2de8ba4
Merge pull request #5584 from prometheus/beorn7/release
beorn7 May 22, 2019
2548271
format markdown code block (#5594)
Bevisy May 25, 2019
70b2be3
Exhaust request body before closing it (#5596)
Bevisy May 25, 2019
2a5b7f9
Promote rc.0 to final v2.10.0
beorn7 May 25, 2019
d20e84d
Merge pull request #5597 from prometheus/beorn7/release
beorn7 May 25, 2019
ad3714d
Merge tag 'v2.10.0' into aos-bump-v2.10.0
simonpasquier May 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 39 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ executors:
# should also be updated.
golang:
docker:
- image: circleci/golang:1.11
- image: circleci/golang:1.12

jobs:
test:
Expand All @@ -15,7 +15,11 @@ jobs:
steps:
- checkout
- run: make promu
- run: make check_license style unused staticcheck build check_assets
- run:
command: make check_license style unused lint build check_assets
environment:
# Run garbage collection more aggresively to avoid getting OOMed during the lint phase.
GOGC: "20"
- run:
command: |
curl -s -L https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip > /tmp/protoc.zip
Expand Down Expand Up @@ -53,28 +57,29 @@ jobs:

steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
version: 18.06.0-ce
- run: docker run --privileged linuxkit/binfmt:v0.6
- attach_workspace:
at: .
- run: ln -s .build/linux-amd64/prometheus prometheus
- run: ln -s .build/linux-amd64/promtool promtool
- run: make docker
- run: make docker DOCKER_REPO=quay.io/prometheus
- run: docker images
- run: docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- run: docker login -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io
- run: make docker-publish
- run: make docker-publish DOCKER_REPO=quay.io/prometheus
- run: make docker-manifest
- run: make docker-manifest DOCKER_REPO=quay.io/prometheus

docker_hub_release_tags:
executor: golang

steps:
- checkout
- setup_remote_docker
- run: mkdir -v -p ${HOME}/bin
- run: curl -L 'https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2' | tar xvjf - --strip-components 3 -C ${HOME}/bin
- run: echo 'export PATH=${HOME}/bin:${PATH}' >> ${BASH_ENV}
- setup_remote_docker:
version: 18.06.0-ce
- run: docker run --privileged linuxkit/binfmt:v0.6
- attach_workspace:
at: .
- run: make promu
Expand All @@ -84,19 +89,29 @@ jobs:
- store_artifacts:
path: .tarballs
destination: releases
- run: ln -s .build/linux-amd64/prometheus prometheus
- run: ln -s .build/linux-amd64/promtool promtool
- run: make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
- run: make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG DOCKER_REPO=quay.io/prometheus
- run: docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- run: docker login -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io
- run: make docker-publish DOCKER_IMAGE_TAG="$CIRCLE_TAG"
- run: make docker-publish DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus
- run: make docker-manifest DOCKER_IMAGE_TAG="$CIRCLE_TAG"
- run: make docker-manifest DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus
- run: |
if [[ "$CIRCLE_TAG" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then
make docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG"
make docker-tag-latest DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus
make docker-publish DOCKER_IMAGE_TAG="latest"
make docker-publish DOCKER_IMAGE_TAG="latest" DOCKER_REPO=quay.io/prometheus
make docker-manifest DOCKER_IMAGE_TAG="latest"
make docker-manifest DOCKER_IMAGE_TAG="latest" DOCKER_REPO=quay.io/prometheus
fi
- run: make docker-publish
- run: make docker-publish DOCKER_REPO=quay.io/prometheus

makefile_sync:
executor: golang
steps:
- checkout
- run: ./scripts/sync_makefiles.sh

workflows:
version: 2
Expand Down Expand Up @@ -126,3 +141,14 @@ workflows:
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
branches:
ignore: /.*/
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- makefile_sync

2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ data/
.tarballs/

!.build/linux-amd64/
!.build/linux-armv7/
!.build/linux-arm64/
35 changes: 35 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 180

# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false

# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: false

# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: false

# Limit to only `issues` or `pulls`
only: issues

# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
# exemptLabels:
# - help-wanted
# lockLabel: outdated

# pulls:
# daysUntilLock: 30

# Repository to extend settings from
# _extends: repo
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
*#
.#*
*-stamp
/*.yaml
/*.yml
/*.rules
*.exe

/prometheus
Expand All @@ -12,12 +10,9 @@ benchmark.txt
/data
/cmd/prometheus/data
/cmd/prometheus/debug
/.build
/.release
/.tarballs

!/circle.yml
!/.travis.yml
!/.promu.yml
!/.golangci.yml
/documentation/examples/remote_storage/remote_storage_adapter/remote_storage_adapter
/documentation/examples/remote_storage/example_write_adapter/example_writer_adapter
13 changes: 13 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
run:
modules-download-mode: vendor
deadline: 5m

issues:
exclude-rules:
- path: _test.go
linters:
- errcheck

linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
go:
# Whenever the Go version is updated here, .travis.yml and
# .circle/config.yml should also be updated.
version: 1.11
version: 1.12
repository:
path: github.com/prometheus/prometheus
build:
Expand Down
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
sudo: false

language: go

# Whenever the Go version is updated here, .circleci/config.yml and .promu.yml
# should also be updated.
go:
- 1.11.x
- 1.12.x

go_import_path: github.com/prometheus/prometheus

# This ensures that the local cache is filled before running the CI.
# travis_retry retries the command 3 times if it fails as we've experienced
# random issues on Travis.
before_install:
- travis_retry make deps

script:
- make check_license style unused test staticcheck check_assets
- make check_license style unused test lint check_assets
- git diff --exit-code
105 changes: 101 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,100 @@
## 2.10.0 / 2019-05-25

* [CHANGE/BUGFIX] API: Encode alert values as string to correctly represent Inf/NaN. #5582
* [FEATURE] Template expansion: Make external labels available as `$externalLabels` in alert and console template expansion. #5463
* [FEATURE] TSDB: Add `prometheus_tsdb_wal_segment_current` metric for the WAL segment index that TSDB is currently writing to. tsdb#601
* [FEATURE] Scrape: Add `scrape_series_added` per-scrape metric. #5546
* [ENHANCEMENT] Discovery/kubernetes: Add labels `__meta_kubernetes_endpoint_node_name` and `__meta_kubernetes_endpoint_hostname`. #5571
* [ENHANCEMENT] Discovery/azure: Add label `__meta_azure_machine_public_ip`. #5475
* [ENHANCEMENT] TSDB: Simplify mergedPostings.Seek, resulting in better performance if there are many posting lists. tsdb#595
* [ENHANCEMENT] Log filesystem type on startup. #5558
* [ENHANCEMENT] Cmd/promtool: Use POST requests for Query and QueryRange. client_golang#557
* [ENHANCEMENT] Web: Sort alerts by group name. #5448
* [ENHANCEMENT] Console templates: Add convenience variables `$rawParams`, `$params`, `$path`. #5463
* [BUGFIX] TSDB: Don't panic when running out of disk space and recover nicely from the condition. tsdb#582
* [BUGFIX] TSDB: Correctly handle empty labels. tsdb#594
* [BUGFIX] TSDB: Don't crash on an unknown tombstone reference. tsdb#604
* [BUGFIX] Storage/remote: Remove queue-manager specific metrics if queue no longer exists. #5445 #5485 #5555
* [BUGFIX] PromQL: Correctly display `{__name__="a"}`. #5552
* [BUGFIX] Discovery/kubernetes: Use `service` rather than `ingress` as the name for the service workqueue. #5520
* [BUGFIX] Discovery/azure: Don't panic on a VM with a public IP. #5587
* [BUGFIX] Discovery/triton: Always read HTTP body to completion. #5596
* [BUGFIX] Web: Fixed Content-Type for js and css instead of using `/etc/mime.types`. #5551

## 2.9.2 / 2019-04-24

* [BUGFIX] Make sure subquery range is taken into account for selection #5467
* [BUGFIX] Exhaust every request body before closing it #5166
* [BUGFIX] Cmd/promtool: return errors from rule evaluations #5483
* [BUGFIX] Remote Storage: string interner should not panic in release #5487
* [BUGFIX] Fix memory allocation regression in mergedPostings.Seek tsdb#586

## 2.9.1 / 2019-04-16

* [BUGFIX] Discovery/kubernetes: fix missing label sanitization #5462
* [BUGFIX] Remote_write: Prevent reshard concurrent with calling stop #5460

## 2.9.0 / 2019-04-15

This releases uses Go 1.12, which includes a change in how memory is released
to Linux. This will cause RSS to be reported as higher, however this is harmless
and the memory is available to the kernel when it needs it.

* [CHANGE/ENHANCEMENT] Update Consul to support catalog.ServiceMultipleTags. #5151
* [FEATURE] Add honor_timestamps scrape option. #5304
* [ENHANCEMENT] Discovery/kubernetes: add present labels for labels/annotations. #5443
* [ENHANCEMENT] OpenStack SD: Add ProjectID and UserID meta labels. #5431
* [ENHANCEMENT] Add GODEBUG and retention to the runtime page. #5324 #5322
* [ENHANCEMENT] Add support for POSTing to /series endpoint. #5422
* [ENHANCEMENT] Support PUT methods for Lifecycle and Admin APIs. #5376
* [ENHANCEMENT] Scrape: Add global jitter for HA server. #5181
* [ENHANCEMENT] Check for cancellation on every step of a range evaluation. #5131
* [ENHANCEMENT] String interning for labels & values in the remote_write path. #5316
* [ENHANCEMENT] Don't lose the scrape cache on a failed scrape. #5414
* [ENHANCEMENT] Reload cert files from disk automatically. common#173
* [ENHANCEMENT] Use fixed length millisecond timestamp format for logs. common#172
* [ENHANCEMENT] Performance improvements for postings. tsdb#509 tsdb#572
* [BUGFIX] Remote Write: fix checkpoint reading. #5429
* [BUGFIX] Check if label value is valid when unmarshaling external labels from YAML. #5316
* [BUGFIX] Promparse: sort all labels when parsing. #5372
* [BUGFIX] Reload rules: copy state on both name and labels. #5368
* [BUGFIX] Exponentation operator to drop metric name in result of operation. #5329
* [BUGFIX] Config: resolve more file paths. #5284
* [BUGFIX] Promtool: resolve relative paths in alert test files. #5336
* [BUGFIX] Set TLSHandshakeTimeout in HTTP transport. common#179
* [BUGFIX] Use fsync to be more resilient to machine crashes. tsdb#573 tsdb#578
* [BUGFIX] Keep series that are still in WAL in checkpoints. tsdb#577
* [BUGFIX] Fix output sample values for scalar-to-vector comparison operations. #5454

## 2.8.1 / 2019-03-28

* [BUGFIX] Display the job labels in `/targets` which was removed accidentally. #5406

## 2.8.0 / 2019-03-12

This release uses Write-Ahead Logging (WAL) for the remote_write API. This currently causes a slight increase in memory usage, which will be addressed in future releases.

* [CHANGE] Default time retention is used only when no size based retention is specified. These are flags where time retention is specified by the flag `--storage.tsdb.retention` and size retention by `--storage.tsdb.retention.size`. #5216
* [CHANGE] `prometheus_tsdb_storage_blocks_bytes_total` is now `prometheus_tsdb_storage_blocks_bytes`. prometheus/tsdb#506
* [FEATURE] [EXPERIMENTAL] Time overlapping blocks are now allowed; vertical compaction and vertical query merge. It is an optional feature which is controlled by the `--storage.tsdb.allow-overlapping-blocks` flag, disabled by default. prometheus/tsdb#370
* [ENHANCEMENT] Use the WAL for remote_write API. #4588
* [ENHANCEMENT] Query performance improvements. prometheus/tsdb#531
* [ENHANCEMENT] UI enhancements with upgrade to Bootstrap 4. #5226
* [ENHANCEMENT] Reduce time that Alertmanagers are in flux when reloaded. #5126
* [ENHANCEMENT] Limit number of metrics displayed on UI to 10000. #5139
* [ENHANCEMENT] (1) Remember All/Unhealthy choice on target-overview when reloading page. (2) Resize text-input area on Graph page on mouseclick. #5201
* [ENHANCEMENT] In `histogram_quantile` merge buckets with equivalent le values. #5158.
* [ENHANCEMENT] Show list of offending labels in the error message in many-to-many scenarios. #5189
* [ENHANCEMENT] Show `Storage Retention` criteria in effect on `/status` page. #5322
* [BUGFIX] Fix sorting of rule groups. #5260
* [BUGFIX] Fix support for password_file and bearer_token_file in Kubernetes SD. #5211
* [BUGFIX] Scrape: catch errors when creating HTTP clients #5182. Adds new metrics:
* `prometheus_target_scrape_pools_total`
* `prometheus_target_scrape_pools_failed_total`
* `prometheus_target_scrape_pool_reloads_total`
* `prometheus_target_scrape_pool_reloads_failed_total`
* [BUGFIX] Fix panic when aggregator param is not a literal. #5290

## 2.7.2 / 2019-03-02

* [BUGFIX] `prometheus_rule_group_last_evaluation_timestamp_seconds` is now a unix timestamp. #5186
Expand All @@ -12,7 +109,7 @@ This release has a fix for a Stored DOM XSS vulnerability that can be triggered

## 2.7.0 / 2019-01-28

We're rolling back the Dockerfile changes introduced in 2.6.0. If you made changes to your docker deployment in 2.6.0, you will need to roll them back. This release also adds experimental support for disk size based retention. To accomodate that we are deprecating the flag `storage.tsdb.retention` in favour of `storage.tsdb.retention.time`. We print a warning if the flag is in use, but it will function without breaking until Prometheus 3.0.
We're rolling back the Dockerfile changes introduced in 2.6.0. If you made changes to your docker deployment in 2.6.0, you will need to roll them back. This release also adds experimental support for disk size based retention. To accommodate that we are deprecating the flag `storage.tsdb.retention` in favour of `storage.tsdb.retention.time`. We print a warning if the flag is in use, but it will function without breaking until Prometheus 3.0.

* [CHANGE] Rollback Dockerfile to version at 2.5.0. Rollback of the breaking change introduced in 2.6.0. #5122
* [FEATURE] Add subqueries to PromQL. #4831
Expand Down Expand Up @@ -139,8 +236,8 @@ This release includes multiple bugfixes and features. Further, the WAL implement
* [FEATURE] Persist alert 'for' state across restarts #4061
* [FEATURE] Add API providing per target metric metadata #4183
* [FEATURE] Add API providing recording and alerting rules #4318 #4501
* [ENHANCEMENT] Brand new WAL implementation for TSDB. Forwards incompatible with previous WAL.
* [ENHANCEMENT] Show rule evaluation errors in UI #4457
* [ENHANCEMENT] Brand new WAL implementation for TSDB. Forwards incompatible with previous WAL.
* [ENHANCEMENT] Show rule evaluation errors in UI #4457
* [ENHANCEMENT] Throttle resends of alerts to Alertmanager #4538
* [ENHANCEMENT] Send EndsAt along with the alert to Alertmanager #4550
* [ENHANCEMENT] Limit the samples returned by remote read endpoint #4532
Expand Down Expand Up @@ -1203,7 +1300,7 @@ All changes:
from embedding into the binary. Those files are only used for debugging,
and then you can use -web.use-local-assets. By including fewer files, the
RAM usage during compilation is much more manageable.
* [ENHANCEMENT] Help link points to http://prometheus.github.io now.
* [ENHANCEMENT] Help link points to https://prometheus.github.io now.
* [FEATURE] Consoles for haproxy and cloudwatch.
* [BUGFIX] Several fixes to graphs in consoles.
* [CLEANUP] Removed a file size check that did not check anything.
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Prometheus uses GitHub to manage reviews of pull requests.
Comments](https://code.google.com/p/go-wiki/wiki/CodeReviewComments)
and the _Formatting and style_ section of Peter Bourgon's [Go: Best
Practices for Production
Environments](http://peter.bourgon.org/go-in-production/#formatting-and-style).
Environments](https://peter.bourgon.org/go-in-production/#formatting-and-style).

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

Expand All @@ -40,6 +40,8 @@ go build ./cmd/prometheus/
make test # Make sure all the tests pass before you commit and push :)
```

We use `golangci-lint`[https://github.com/golangci/golangci-lint] for linting the code. If it reports an issue and you think that the warning needs to be disregarded or is a false-positive, you can add a special comment `//nolint:linter1[,linter2,...]` before the offending line. Use this sparingly though, fixing the code to comply with the linter's recommendation is in general the preferred course of action.

All our issues are regularly tagged so that you can also filter down the issues involving the components you want to work on. For our labeling policy refer [the wiki page](https://github.com/prometheus/prometheus/wiki/Label-Names-and-Descriptions).

## Pull Request Checklist
Expand All @@ -54,7 +56,7 @@ All our issues are regularly tagged so that you can also filter down the issues

## Dependency management

The Prometheus project uses [Go modules](https://golang.org/cmd/go/#hdr-Modules__module_versions__and_more) to manage dependencies on external packages. This requires a working Go environment with version 1.11 or greater installed.
The Prometheus project uses [Go modules](https://golang.org/cmd/go/#hdr-Modules__module_versions__and_more) to manage dependencies on external packages. This requires a working Go environment with version 1.12 or greater installed.

All dependencies are vendored in the `vendor/` directory.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL io.k8s.display-name="OpenShift Prometheus" \
io.k8s.description="The Prometheus monitoring system and time series database." \
io.openshift.tags="prometheus,monitoring" \
maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>" \
version="v2.7.2"
version="v2.10.0"

ARG FROM_DIRECTORY=/go/src/github.com/prometheus/prometheus
COPY --from=builder ${FROM_DIRECTORY}/prometheus /bin/prometheus
Expand Down
Loading