Hrishikesh Barman
a1f34bec2e
Added CORS Origin flag ( #5011 )
...
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
2019-01-17 15:01:06 +00:00
Matt Layher
c44cd7e166
Merge pull request #5102 from prometheus/mdl-gofmt
...
*: apply gofmt -s
2019-01-16 19:12:43 -05:00
Matt Layher
67c43f3054
Merge pull request #5101 from prometheus/mdl-no-fatal
...
pkg/runtime: use panic instead of log.Fatal for system call errors
2019-01-16 19:12:29 -05:00
Matt Layher
a68d1f2688
Merge pull request #5100 from prometheus/mdl-lexer-subtests
...
promql: use subtests in TestLexer
2019-01-16 19:12:11 -05:00
Matt Layher
302148fd69
*: apply gofmt -s
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-01-16 17:28:14 -05:00
Matt Layher
28eff63eca
pkg/runtime: use panic instead of log.Fatal for system call errors
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-01-16 17:03:30 -05:00
Matt Layher
f62fd2bfc9
promql: use subtests in TestLexer
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-01-16 16:39:32 -05:00
Ryan Leung
45c8b084c6
fix TestFailedStartupExitCode ( #5076 )
...
Signed-off-by: rleungx <rleungx@gmail.com>
2019-01-16 10:13:36 +01:00
Simon Pasquier
22a1def98d
Merge pull request #5099 from prometheus/release-2.6
...
Merge release-2.6 to master
2019-01-16 09:26:00 +01:00
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>
2019-01-15 19:13:39 +00:00
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>
2019-01-15 17:41:34 +01:00
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>
2019-01-15 15:32:05 +01:00
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>
2019-01-15 10:32:29 +00:00
tommarute
9922c35a23
marathon-sd - use Tasks.Ports instead of PortDefinitions.Ports if RequirePorts is false ( #5022 ) ( #5026 )
...
Signed-off-by: tommarute <tommarute@gmail.com>
2019-01-14 17:20:22 +00:00
Sylvain Rabot
d9f4a8c95f
sd: Fix stuck Azure service discovery ( #5088 )
...
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2019-01-14 15:09:27 +00:00
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>
2019-01-13 14:28:07 +00:00
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>
2019-01-09 15:18:58 +00:00
Lv Jiawei
b8ede99767
Fix comment typo ( #5087 )
...
According to code, I think it is a typo.
Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
2019-01-09 10:56:47 +00:00
Matt Layher
43c9d9e91f
promql: apply golint suggestions ( #5066 )
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-01-08 18:26:02 +00:00
Björn Rabenstein
8cac9cbe1d
Merge pull request #5081 from prometheus/beorn7/release
...
Merge v2.6 bug fixes into master
2019-01-08 15:50:08 +01:00
beorn7
305f383af4
Adjust test_test.go to new Select return order
...
Signed-off-by: beorn7 <beorn@soundcloud.com>
2019-01-08 13:54:50 +01:00
beorn7
d6841c52e0
Merge branch 'release-2.6'
2019-01-08 12:46:18 +01:00
Björn Rabenstein
d7225ac4a2
Merge pull request #5069 from codesome/bug-5064
...
Empty slice after last append in promql test LazyLoader
2019-01-08 12:44:12 +01:00
Frederic Branczyk
fae49ab73b
Merge pull request #5071 from gouthamve/release-2.7-shepard
...
Propose myself (Goutham) as the 2.7 shepard
2019-01-07 18:29:15 +01:00
Ganesh Vernekar
341f04ca9c
Empty slice after last append in promql test LazyLoader
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-01-07 19:07:27 +05:30
Goutham Veeramachaneni
834adc9566
Propose myself as the 2.7 shepard
...
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2019-01-07 18:44:05 +05:30
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
2019-01-07 10:54:34 +01:00
Fabian Reinartz
ca93c8e19b
Merge pull request #4969 from prometheus/azuresubid
...
Add Azure tenant and subscription ID labels
2019-01-06 12:25:06 +01:00
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>
2019-01-04 14:47:38 +01:00
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>
2019-01-04 10:57:17 +00:00
tariqibrahim
9b4a25e7b0
use klog dependency
...
Signed-off-by: tariqibrahim <tariq181290@gmail.com>
2019-01-03 13:57:20 -08:00
tariqibrahim
aa94efe4b5
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
2019-01-03 10:27:12 -08:00
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>
2019-01-03 14:56:49 +00:00
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
2019-01-03 17:13:21 +03:00
Fabian Reinartz
93d13c59d0
Sort
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2019-01-03 13:10:57 +01:00
Fabian Reinartz
7a41038695
Add Azure tenant and subscription ID labels
...
Signed-off-by: Fabian Reinartz <freinartz@google.com>
2019-01-03 13:09:13 +01:00
Tom Wilkie
121603c417
Expose rules.NewGroupMetrics and rules.Metrics. ( #5059 )
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2019-01-03 12:07:06 +00:00
Tom Wilkie
6e08029b56
Move err to be the last return value from storage.Select. ( #5054 )
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2019-01-02 11:10:13 +00:00
Ganesh Vernekar
7d30ccd0eb
Sort samples before comparing - PromQL unit test ( #5052 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2018-12-31 10:55:49 +00:00
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>
2018-12-28 10:20:29 +00:00
AixesHunter
806632790e
update inconsistent comment ( #5046 )
...
Co-Authored-By: aixeshunter <44970652+aixeshunter@users.noreply.github.com>
Signed-off-by: aixeshunter <aixeshunter@gmail.com>
2018-12-27 14:02:36 +00:00
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>
2018-12-25 13:28:56 +00:00
AixesHunter
9f903fb3f7
github.com/cznic/golex has moved to modernc.org/golex ( #5034 )
...
Signed-off-by: aixeshunter <aixeshunter@gmail.com>
2018-12-24 23:59:32 +01:00
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>
2018-12-24 09:24:01 +00:00
Parker Moore
a15a5a2ba0
Fix Docker Hub markdown link ( #5032 )
...
The syntax is [Text](link), but it was [Text[(link).
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2018-12-22 18:04:34 +00:00
Ganesh Vernekar
dbe55c1352
Subquery ( #4831 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2018-12-22 13:47:13 +00:00
Julien Pivotto
2e725a195a
Niptick about relabel config ( #4994 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2018-12-21 10:42:18 +00:00
tariqibrahim
122b47caa0
address review comment in client_metrics
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
2018-12-21 00:46:47 -08:00
tariqibrahim
1e4e4c46ba
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
2018-12-20 11:36:54 -08:00
Ilya Gladyshev
922c17e119
added name label to all discovery metrics ( #5002 )
...
Signed-off-by: Ilya Gladyshev <ilya.v.gladyshev@gmail.com>
2018-12-20 14:47:29 +00:00