Hrishikesh Barman
9c4e258651
corrected regex string check for anyorigin(*) ( #5117 )
...
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
6 years ago
Goutham Veeramachaneni
24f19f03db
*: cut 2.7.0-rc.0 ( #5114 )
...
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Goutham Veeramachaneni
4068968e12
Protect retention from overflowing ( #5112 )
...
Also sanitise the max block duration to max a month.
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Goutham Veeramachaneni
384cba1211
Add flag for size based retention ( #5109 )
...
* Add flag for size based retention
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* Deprecate the old retention flag for a new one.
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* Add ability to take a suffix for size flag
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* Address feedback
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Krasi Georgiev
3bd41cc92c
Udpate tsdb to 0.4 ( #5110 )
...
* update tsdb to v0.4.0
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
* remove unused struct field
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
6 years ago
Simon Pasquier
68e4c211f2
discovery/azure: more robust handling of go routines ( #5106 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Hrishikesh Barman
a1f34bec2e
Added CORS Origin flag ( #5011 )
...
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
6 years ago
Matt Layher
c44cd7e166
Merge pull request #5102 from prometheus/mdl-gofmt
...
*: apply gofmt -s
6 years ago
Matt Layher
67c43f3054
Merge pull request #5101 from prometheus/mdl-no-fatal
...
pkg/runtime: use panic instead of log.Fatal for system call errors
6 years ago
Matt Layher
a68d1f2688
Merge pull request #5100 from prometheus/mdl-lexer-subtests
...
promql: use subtests in TestLexer
6 years ago
Matt Layher
302148fd69
*: apply gofmt -s
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
6 years ago
Matt Layher
28eff63eca
pkg/runtime: use panic instead of log.Fatal for system call errors
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
6 years ago
Matt Layher
f62fd2bfc9
promql: use subtests in TestLexer
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
6 years ago
Ryan Leung
45c8b084c6
fix TestFailedStartupExitCode ( #5076 )
...
Signed-off-by: rleungx <rleungx@gmail.com>
6 years ago
Simon Pasquier
22a1def98d
Merge pull request #5099 from prometheus/release-2.6
...
Merge release-2.6 to master
6 years ago
Callum Styan
5358f76c5c
update remote write path proto so that Labels/Timeseries can't be nil ( #4957 )
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
6 years ago
Simon Pasquier
b639fe140c
*: cut v2.6.1 ( #5098 )
...
* *: cut v2.6.1
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Move container change first.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update VERSION
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
375ad1185c
*: bump gRPC dependencies ( #5075 )
...
* *: bump gRPC dependencies
This change updates the gRPC dependencies to more recent versions:
* github.com/gogo/protobuf => v1.2.0
* github.com/grpc-ecosystem/grpc-gateway => v1.6.3
* google.golang.org/grpc => v1.17.0
In addition scripts/genproto.sh leverages Go modules information instead of
hardcoding SHA1 commits. This ensures that the code is generated from
the exact same sources.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Run 'make proto' in CI
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Revert tabs -> spaces change
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Fix 'make proto' step
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* 'go get' grpc/protobuf dependencies
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Prepopulate cache with go mod download
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Daniel Lo Nigro
edaa4835a2
Update WAL directory structure, and mention that the last three are always kept ( #5096 )
...
* Small tweaks to storage doc page
Signed-off-by: Daniel Lo Nigro <d@d.sb>
6 years ago
tommarute
9922c35a23
marathon-sd - use Tasks.Ports instead of PortDefinitions.Ports if RequirePorts is false ( #5022 ) ( #5026 )
...
Signed-off-by: tommarute <tommarute@gmail.com>
6 years ago
Sylvain Rabot
d9f4a8c95f
sd: Fix stuck Azure service discovery ( #5088 )
...
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
6 years ago
Vishnunarayan K I
fd3ef6ba34
Add metric rule_group_rules_loaded to get the number of rules loaded ( #5090 )
...
Signed-off-by: Vishnunarayan K I <appukuttancr@gmail.com>
6 years ago
Kevin Bulebush
718344434c
openstack_sd: Supporting application credential for authentication. ( #4968 )
...
* openstack_sd: Support application credentials for authentication.
Updated gophercloud
Signed-off-by: Kevin Bulebush <kmbulebu@gmail.com>
6 years ago
Lv Jiawei
b8ede99767
Fix comment typo ( #5087 )
...
According to code, I think it is a typo.
Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
6 years ago
Matt Layher
43c9d9e91f
promql: apply golint suggestions ( #5066 )
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
6 years ago
Björn Rabenstein
8cac9cbe1d
Merge pull request #5081 from prometheus/beorn7/release
...
Merge v2.6 bug fixes into master
6 years ago
beorn7
305f383af4
Adjust test_test.go to new Select return order
...
Signed-off-by: beorn7 <beorn@soundcloud.com>
6 years ago
beorn7
d6841c52e0
Merge branch 'release-2.6'
6 years ago
Björn Rabenstein
d7225ac4a2
Merge pull request #5069 from codesome/bug-5064
...
Empty slice after last append in promql test LazyLoader
6 years ago
Frederic Branczyk
fae49ab73b
Merge pull request #5071 from gouthamve/release-2.7-shepard
...
Propose myself (Goutham) as the 2.7 shepard
6 years ago
Ganesh Vernekar
341f04ca9c
Empty slice after last append in promql test LazyLoader
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
6 years ago
Goutham Veeramachaneni
834adc9566
Propose myself as the 2.7 shepard
...
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
6 years ago
Frederic Branczyk
e9ae0b5a1b
Merge pull request #4927 from tariq1890/update_k8s
...
update client-go to v10.0.0 and other k8s deps to v1.13.1
6 years ago
Fabian Reinartz
ca93c8e19b
Merge pull request #4969 from prometheus/azuresubid
...
Add Azure tenant and subscription ID labels
6 years ago
Simon Pasquier
f678e27eb6
*: use latest release of staticcheck ( #5057 )
...
* *: use latest release of staticcheck
It also fixes a couple of things in the code flagged by the additional
checks.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Use official release of staticcheck
Also run 'go list' before staticcheck to avoid failures when downloading packages.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Lv Jiawei
b50ea4834f
Fix typo in comment ( #5061 )
...
I think it is a typo in comment of Alert.ResolvedAt .
Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
6 years ago
tariqibrahim
9b4a25e7b0
use klog dependency
...
Signed-off-by: tariqibrahim <tariq181290@gmail.com>
6 years ago
tariqibrahim
aa94efe4b5
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
zhulongcheng
7632e976c0
Move the build badge to the badge list ( #5060 )
...
Move the `build` badge to the badge list.
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
6 years ago
glutamatt
5ddde1965b
tune the "Wal segment size" with a flag ( #5029 )
...
Add WALSegmentSize as an option, and the corresponding flag "storage.tsdb.wal-segment-size" to tune the max size of wal segment files.
The addressed base problem is to reduce the disk space used by wal segment files : on a raspberry pi, for instance, we often want to reduce write load of the sd card, then, the wal directory is mounted on a memory (space limited) partition.
the default value of the segment max file size, pushed the size of directory to 128 MB for each segment , which is too much ram consumption on a rasp.
the initial discussion is at https://github.com/prometheus/tsdb/pull/450
6 years ago
Fabian Reinartz
93d13c59d0
Sort
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
6 years ago
Fabian Reinartz
7a41038695
Add Azure tenant and subscription ID labels
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
6 years ago
Tom Wilkie
121603c417
Expose rules.NewGroupMetrics and rules.Metrics. ( #5059 )
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
6 years ago
Tom Wilkie
6e08029b56
Move err to be the last return value from storage.Select. ( #5054 )
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
6 years ago
Ganesh Vernekar
7d30ccd0eb
Sort samples before comparing - PromQL unit test ( #5052 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
6 years ago
Bartek Płotka
de213d4a5e
rule manager: Moved metric registration to custom registerer which is already available. ( #4961 )
...
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
6 years ago
AixesHunter
806632790e
update inconsistent comment ( #5046 )
...
Co-Authored-By: aixeshunter <44970652+aixeshunter@users.noreply.github.com>
Signed-off-by: aixeshunter <aixeshunter@gmail.com>
6 years ago
Eyal Levin
d304269ac4
Update text ( #5039 )
...
The `rule_files` section is not inside the `global` configuration section
Signed-off-by: Eyal Levin <eyalev@gmail.com>
6 years ago
AixesHunter
9f903fb3f7
github.com/cznic/golex has moved to modernc.org/golex ( #5034 )
...
Signed-off-by: aixeshunter <aixeshunter@gmail.com>
6 years ago
Lv Jiawei
ad22389218
Add ingress in UnmarshalYAML and init ( #5035 )
...
Both UnmarshalYAML and init lacks the role type ingress.
Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
6 years ago