Björn Rabenstein
c092a74be9
Merge pull request #9553 from prometheus/beorn7/histogram
...
promql: Add more test cases for `histogram_quantile`
2021-10-21 00:33:11 +02:00
Julien Pivotto
b0c98e01c8
Include scrape labels in the hash ( #9551 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-20 23:44:45 +02:00
Julien Pivotto
77f411b2ec
Enable tls_config in oauth2 ( #9550 )
...
* Enable tls_config in oauth2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-20 23:10:18 +02:00
Levi Harrison
89a6ebd799
Add common HTTP client to Azure SD ( #9267 )
...
* Add `proxy_url` option to Azure SD
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-10-20 23:09:58 +02:00
Julien Pivotto
3458e338c6
docs: Improve PuppetDB example ( #9547 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-20 21:03:17 +02:00
beorn7
c00c6ed01f
promql: Add more test cases for histogram_quantile
...
This is motivated by the doubts raised in #7970 .
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-20 16:15:44 +02:00
Bryan Boreham
a278ea4b58
promql: copy data when short-circuiting ( #9552 )
...
* promql: copy data when short-circuiting
Because the range query loop re-uses the output buffer each time round,
we must copy results into the buffer rather than using input as output.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2021-10-20 16:03:02 +02:00
Vladimir Kononov
1043d2b594
Discovery: abstain from restarting providers if possible ( #9321 ) ( #9349 )
...
* Abstain from restarting discovery providers if possible (#9321 )
Signed-off-by: Vladimir Kononov <krya-kryak@users.noreply.github.com>
2021-10-20 10:16:20 +02:00
Julien Pivotto
432005826d
Add a feature flag to enable the new discovery manager ( #9537 )
...
* Add a feature flag to enable the new manager
This PR creates a copy of the legacy manager and uses it by default.
It is a companion PR to #9349 . With this PR, users can enable the new
discovery manager and provide us with any feedback / side effects that
the new behaviour might have.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-20 10:15:54 +02:00
Julien Pivotto
68bc92b520
uyuni: small fixes for comments ( #9538 )
...
* uyuni: small fixes for comments
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-19 23:38:44 +02:00
Julien Pivotto
df1bae0514
Add support for security-related HTTP headers ( #9546 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-19 21:26:52 +02:00
Julien Pivotto
2a574bf8c2
Uyuni: enable HTTP2 again ( #9539 )
...
PR #9398 re-introduced HTTP2 in Prometheus. Uyuni SD can use the client
without disabling it.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-19 21:26:39 +02:00
Olivier Lemasle
8858a276c2
Fix link to React App's README ( #9532 )
...
Signed-off-by: Olivier Lemasle <olivier.lemasle@apalia.net>
2021-10-19 12:08:00 -04:00
beorn7
a9008f5423
Merge branch 'main' into sparsehistogram
2021-10-19 17:14:23 +02:00
Björn Rabenstein
39be2df10d
Merge pull request #9534 from prometheus/beorn7/encoding
...
Remove code duplication in xor encoding.
2021-10-19 17:13:52 +02:00
beorn7
4998b9750f
chunkenc: Bugfix and naming tweaks
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-19 15:38:32 +02:00
beorn7
78ef9c6359
chunkenc: make xor reading more DRY
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-19 15:28:33 +02:00
beorn7
4a1b84f8b2
chunkenc: make xor writing more DRY
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-19 15:28:33 +02:00
Björn Rabenstein
3704c6c20a
Merge pull request #9533 from prometheus/beorn7/sparsehistogram
...
tsdb: Complete chunk format documentation
2021-10-19 13:51:46 +02:00
beorn7
1a4e54cfbb
tsdb: Complete chunk format documentation
...
This also tweaks and fixes a few things done previously.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-19 13:51:30 +02:00
Julien Pivotto
c812ee794e
PromQL: Comment flaky test ( #9545 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-19 13:13:56 +02:00
Björn Rabenstein
b0a0bfb0a1
Merge pull request #9535 from prometheus/beorn7/testing
...
chunkenc: Add test for chunk layout encoding
2021-10-19 11:56:02 +02:00
Witek Bedyk
cda2dbbef6
Add Uyuni service discovery ( #8190 )
...
* Add Uyuni service discovery
Signed-off-by: Witek Bedyk <witold.bedyk@suse.com>
Co-authored-by: Joao Cavalheiro <jcavalheiro@suse.de>
Co-authored-by: Marcelo Chiaradia <mchiaradia@suse.com>
Co-authored-by: Stefano Torresi <stefano@torresi.io>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
2021-10-19 01:00:44 +02:00
beorn7
0876d57aea
chunkenc: Add test for chunk layout encoding
...
And fix a bug exposed by it...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-18 19:37:24 +02:00
Augustin Husson
a4ad290987
remove old promql editor ( #9452 )
...
* remove old promql editor
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rename CMExpression by Expression
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 17:22:23 +02:00
Augustin Husson
703d9bcd56
prepare the changelog for a next release of codemirror-promql ( #9492 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 16:41:32 +02:00
Björn Rabenstein
8c1507ebaa
Merge pull request #9509 from prometheus/beorn7/sparsehistogram
...
Histogram encoding improvementes
2021-10-18 15:45:20 +02:00
beorn7
ad9b4c2b68
Fix typos
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-18 15:44:13 +02:00
Augustin Husson
08011925a1
update documentation around react-app ( #9476 )
...
* update documentation around react-app and how to upgrade the npm dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* wording around caution to take when updating the deps
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fixing the npm version to be used and explain where you should perform the npm install command
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* simplify what is required to build prometheus from the source
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* aligned period and removed redondant word installed
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* set nodeJS version to be used at 16
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* describe manuel steps to update a dependency for the react-app
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rewording of the manuel step to update the dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 12:47:31 +02:00
jessicagreben
60d0990886
add more explicit label values
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
2021-10-18 01:04:13 +02:00
jessicagreben
3da87d2f39
add unit test to check label rule labels override
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
2021-10-18 01:04:13 +02:00
Julien Pivotto
f8372bc6b9
backfill: Apply rule labels after query labels
...
Fix #9419
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-18 01:04:13 +02:00
Julien Pivotto
a18224d02d
make aggregations deterministic ( #9459 )
...
* Add deterministic test for aggregations
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Make aggregations deterministic
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Increase testing
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-17 15:16:38 +05:30
Björn Rabenstein
94a9156cc4
Merge pull request #9518 from prometheus/beorn7/labels
...
scrape: Avoid creating a label map during conflict resolution
2021-10-16 21:22:08 +02:00
Paweł Szulik
4414351576
web api: Delete unnecessary conversion. ( #9517 )
2021-10-15 18:41:53 -04:00
beorn7
fe50d6fc14
Update chunk layout documentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-15 23:18:41 +02:00
beorn7
b8d953a5a0
scrape: Avoid creating a label map during conflict resolution
...
This also avoids the recursive function call. I think it is quite
readable. And much less code.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-15 21:56:48 +02:00
beorn7
ed33aea392
Avoid redundant varint decoding in chunk appender construction
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-15 20:33:14 +02:00
Shirley Leu
c890ea407f
Resolve conflicts between multiple exported label prefixes ( #9479 )
...
Resolve conflicts between multiple exported label prefixes
Signed-off-by: Shirley Leu <shirley.w.leu@gmail.com>
2021-10-15 20:31:03 +02:00
Howie
4e1dacf2d1
fix issue #9432(uses reference to loop iterator variable ) ( #9483 )
2021-10-15 14:24:55 -04:00
ziollek
55f9147b44
Add atan2 to scalar operators - issue #9485 ( #9515 )
...
* Add atan2 to scalar operators
Signed-off-by: Tomasz Ziolkowski <tomasz.ziolkowski@allegro.pl>
2021-10-15 16:03:11 +02:00
beorn7
d31bb75dc4
Use VarbitUint rather than VarbitInt to encode len(spans)
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-15 15:27:32 +02:00
beorn7
3179215a59
Encode zero threshold first
...
This guaranees that the zero threshold is byte-aligned. Not sure if
that helps in any way, but at least it won't harm.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-14 14:55:21 +02:00
beorn7
c5522677bf
Improve encoding of zero threshold
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-14 14:47:26 +02:00
Ben Ye
fdbc40a9ef
Expose NewChainSampleIterator func ( #9475 )
...
* expose NewChainSampleIterator func
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* add comment
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
* update comments
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
2021-10-14 14:49:00 +05:30
tclayton-newr
e261eccb35
added doc for changed metric name in remote write ( #9480 )
...
* added doc for changed metric name in remote write
Signed-off-by: Tyler Clayton <tclayton@newrelic.com>
2021-10-14 00:12:54 +02:00
beorn7
7093b089f2
Use more varbit in histogram chunks
...
This adds bit buckets for larger numbers to varbit encoding and also
an unsigned version of varbit encoding.
Then, varbit encoding is used for all the histogram chunk data instead
of varint.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-13 20:03:35 +02:00
Björn Rabenstein
7309c20e7e
Merge pull request #9500 from codesome/resettests
...
Add unit test for counter reset header
2021-10-13 18:19:21 +02:00
Ganesh Vernekar
dcaf568279
Metadata -> Layout renaming
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-10-13 20:27:48 +05:30
Ganesh Vernekar
4e206c7c77
Fix reviews
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-10-13 20:23:31 +05:30