Callum Styan
eb63f30459
fix minor things
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:35:43 -03:00
Callum Styan
3e5facc0c0
add functionality for new minimized remote write request format
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:35:43 -03:00
Callum Styan
82c1df0aa1
add functions for translating between new proto formats symbol table and
...
actual prometheus labels
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:35:43 -03:00
Callum Styan
7cea6fe126
Add minmized remote write proto format
...
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:35:43 -03:00
Nicolás Pazos
46b84ab3fb
lint
2023-11-09 10:18:12 -03:00
Nicolás Pazos
4654241f4b
fix typo in log
2023-11-09 10:18:12 -03:00
Nicolás Pazos
cef9891cdd
remote write handler to checks version header
2023-11-09 10:18:12 -03:00
Nicolás Pazos
e3f27aa2c7
fields rewording in handler
2023-11-09 10:18:12 -03:00
Nicolás Pazos
6f21272ca7
fix NewWriteClient and change new flags wording
2023-11-09 10:18:12 -03:00
alexgreenbank
1cddea1501
gofmt
2023-11-09 10:18:12 -03:00
alexgreenbank
8ab14f2456
Remove config, update proto
2023-11-09 10:18:12 -03:00
alexgreenbank
15c4d45635
Add 1.1 version handling code
2023-11-09 10:18:12 -03:00
Nicolás Pazos
06b486b41e
cleanup: remove hardcoded fake url for testing
2023-11-09 10:18:12 -03:00
Nicolás Pazos
44f166d066
Use github.com/golang/snappy
2023-11-09 10:18:12 -03:00
Nicolás Pazos
c1593fd35a
Improve sender benchmarks and some allocations
2023-11-09 10:18:12 -03:00
Nicolás Pazos
b35ab6c080
fix build
2023-11-09 10:18:12 -03:00
Nicolás Pazos
2f815ee3dd
refactor queue manager code to remove some duplication
2023-11-09 10:18:12 -03:00
Nicolás Pazos
3be59f0ca6
add sender-side tests and fix failing ones
2023-11-09 10:18:12 -03:00
Nicolás Pazos
eebf7ac1fc
fix: queue manager to include float histograms in new requests
2023-11-09 10:18:12 -03:00
Nicolás Pazos
17aa5b5557
refactor out common code between write methods
2023-11-09 10:18:12 -03:00
Nicolás Pazos
111bf0fcaf
add basic reduce remote write handler benchmark
2023-11-09 10:18:12 -03:00
Nicolás Pazos
0dc96d6221
fix mocks and fixture
2023-11-09 10:18:12 -03:00
Nicolás Pazos
ed34405d68
remove some comented code
2023-11-09 10:18:12 -03:00
Nicolás Pazos
fff56c0df7
no-brainer copypaste but more performance write support
2023-11-09 10:18:12 -03:00
Nicolás Pazos
0062b91460
Fix test
2023-11-09 10:18:12 -03:00
Nicolás Pazos
337f9ae7ae
add new proto support on receiver end
2023-11-09 10:18:12 -03:00
Nicolás Pazos
f65eb1c8d9
tests and new -> original proto mapping util
2023-11-09 10:18:12 -03:00
Callum Styan
867cc97d2f
Add new test client
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
b25710b2dd
update example server to include handler for new format
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
f1992591b2
Implement code paths for new proto format
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
4910a33d78
add lookup table struct that is used to build the symbol table in new
...
write request format
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
36a30c9cd9
add decode function for new write request proto
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
01f1cf9a47
add new proto types
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Callum Styan
7a862d265f
replace snappy encoding library
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-09 10:18:12 -03:00
Nicolás Pazos
07e21cbba3
Remote Write 1.1: e2e benchmarks ( #13102 )
...
* Remote Write e2e benchmarks
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
* Prometheus ports automatically assigned
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
* make dashboard editable + more modular to different job label values
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Dashboard improvements
* memory stats
* diffs look at counter increases
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
* run script: absolute path for config templates
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
* grafana dashboard improvements
* show actual values of metrics
* add memory stats and diff
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
* dashboard changes
Signed-off-by: Callum Styan <callumstyan@gmail.com>
---------
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
2023-11-08 11:21:25 -08:00
Bryan Boreham
6722a5bb86
Merge pull request #13043 from bboreham/remove-h
...
PromQL: reduce garbage in range-query evaluation
2023-10-30 16:40:20 +00:00
Julien Pivotto
0c1e447d68
Exclude alerts: improve documentation ( #13046 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-10-30 15:08:11 +00:00
Julien Pivotto
156a23d06d
Merge pull request #12999 from rajagopalanand/filter-alerts
...
Adding a query parameter to filter out active alerts
2023-10-30 13:10:24 +01:00
Bryan Boreham
49c5e7afe1
PromQL: reduce garbage in range-query evaluation
...
The temporary variable was allocated on the heap, and it is unnecessary.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-10-29 19:45:06 +00:00
Björn Rabenstein
e9b94515ca
Merge pull request #13039 from zenador/make-anno-err-visible
...
Make it possible to unwrap annotation error
2023-10-27 23:31:04 +02:00
Jeanette Tan
754e7df97e
Make it possible to unwrap annotation errors
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2023-10-28 01:11:49 +08:00
Bryan Boreham
05356e76de
Build: remove -a from build to speed up rebuilds ( #13026 )
...
I think this is a hold-over from when Go was less careful about separating architectures.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-10-25 16:06:17 +01:00
Björn Rabenstein
c8332a852e
Merge pull request #13031 from zenador/hide-pos-info-for-warnings
...
Hide position info for warnings when position is unknown
2023-10-25 13:08:35 +02:00
Jeanette Tan
72cc93d225
Hide position info for warnings when position is unknown (empty query string passed in)
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2023-10-25 18:10:42 +08:00
Björn Rabenstein
f2e02c52db
Merge pull request #12958 from ptodev/prefer-to-not-register-metrics-globally-scrape
...
Metrics in the "scrape" package can now be registered with a non-default registry
2023-10-24 13:40:04 +02:00
Márcio Carôso
dff1c395f6
Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds ( #12986 )
...
* Expose --storage.tsdb.retention.time in a metric
Signed-off-by: Marcio Caroso <msscaroso@gmail.com>
---------
Signed-off-by: Marcio Caroso <msscaroso@gmail.com>
2023-10-24 13:34:42 +02:00
Björn Rabenstein
059f7f0738
Merge pull request #12997 from prometheus/wal-samples-size
...
TSDB: Pre-size buffer to read samples from WAL
2023-10-24 13:26:06 +02:00
Julien Pivotto
b8f5b314ae
Merge pull request #13014 from dannykopping/dannykopping/refactor
...
Refactor `rules/manager.go` into separate concerns
2023-10-24 01:32:41 +02:00
Gilles De Mey
4912c82ed0
ui: Pass unexpected boot errors to StartingContent component ( #13016 )
...
Signed-off-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-10-23 14:17:53 +02:00
Yannick te Kulve
a807dd1616
Bump prometheus common to v0.45.0 ( #13003 )
...
* Bump prometheus common to v0.44.0
Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>
* Fix golang_protobuf_extensions sum
Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>
* Remove unused deps
Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>
---------
Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>
2023-10-22 16:42:01 -04:00