Julian Wiedmann
18886c33c2
docs/operators: fix a typo ( #9559 )
...
s/are preserved the output/are preserved in the output
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
3 years ago
Björn Rabenstein
c092a74be9
Merge pull request #9553 from prometheus/beorn7/histogram
...
promql: Add more test cases for `histogram_quantile`
3 years ago
Julien Pivotto
b0c98e01c8
Include scrape labels in the hash ( #9551 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julien Pivotto
77f411b2ec
Enable tls_config in oauth2 ( #9550 )
...
* Enable tls_config in oauth2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
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>
3 years ago
Julien Pivotto
3458e338c6
docs: Improve PuppetDB example ( #9547 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Julien Pivotto
68bc92b520
uyuni: small fixes for comments ( #9538 )
...
* uyuni: small fixes for comments
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julien Pivotto
df1bae0514
Add support for security-related HTTP headers ( #9546 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
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>
3 years ago
Olivier Lemasle
8858a276c2
Fix link to React App's README ( #9532 )
...
Signed-off-by: Olivier Lemasle <olivier.lemasle@apalia.net>
3 years ago
beorn7
a9008f5423
Merge branch 'main' into sparsehistogram
3 years ago
Björn Rabenstein
39be2df10d
Merge pull request #9534 from prometheus/beorn7/encoding
...
Remove code duplication in xor encoding.
3 years ago
beorn7
4998b9750f
chunkenc: Bugfix and naming tweaks
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
beorn7
78ef9c6359
chunkenc: make xor reading more DRY
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
beorn7
4a1b84f8b2
chunkenc: make xor writing more DRY
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
Björn Rabenstein
3704c6c20a
Merge pull request #9533 from prometheus/beorn7/sparsehistogram
...
tsdb: Complete chunk format documentation
3 years ago
beorn7
1a4e54cfbb
tsdb: Complete chunk format documentation
...
This also tweaks and fixes a few things done previously.
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
Julien Pivotto
c812ee794e
PromQL: Comment flaky test ( #9545 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Björn Rabenstein
b0a0bfb0a1
Merge pull request #9535 from prometheus/beorn7/testing
...
chunkenc: Add test for chunk layout encoding
3 years ago
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>
3 years ago
beorn7
0876d57aea
chunkenc: Add test for chunk layout encoding
...
And fix a bug exposed by it...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
Augustin Husson
703d9bcd56
prepare the changelog for a next release of codemirror-promql ( #9492 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Björn Rabenstein
8c1507ebaa
Merge pull request #9509 from prometheus/beorn7/sparsehistogram
...
Histogram encoding improvementes
3 years ago
beorn7
ad9b4c2b68
Fix typos
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
jessicagreben
60d0990886
add more explicit label values
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
3 years ago
jessicagreben
3da87d2f39
add unit test to check label rule labels override
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
3 years ago
Julien Pivotto
f8372bc6b9
backfill: Apply rule labels after query labels
...
Fix #9419
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
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>
3 years ago
Björn Rabenstein
94a9156cc4
Merge pull request #9518 from prometheus/beorn7/labels
...
scrape: Avoid creating a label map during conflict resolution
3 years ago
Paweł Szulik
4414351576
web api: Delete unnecessary conversion. ( #9517 )
3 years ago
beorn7
fe50d6fc14
Update chunk layout documentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
beorn7
ed33aea392
Avoid redundant varint decoding in chunk appender construction
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
Howie
4e1dacf2d1
fix issue #9432(uses reference to loop iterator variable ) ( #9483 )
3 years ago
ziollek
55f9147b44
Add atan2 to scalar operators - issue #9485 ( #9515 )
...
* Add atan2 to scalar operators
Signed-off-by: Tomasz Ziolkowski <tomasz.ziolkowski@allegro.pl>
3 years ago
beorn7
d31bb75dc4
Use VarbitUint rather than VarbitInt to encode len(spans)
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
beorn7
c5522677bf
Improve encoding of zero threshold
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Björn Rabenstein
7309c20e7e
Merge pull request #9500 from codesome/resettests
...
Add unit test for counter reset header
3 years ago
Ganesh Vernekar
dcaf568279
Metadata -> Layout renaming
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago