Callum Styan
e46e1da71d
make dashboard editable + more modular to different job label values
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-11-01 19:41:35 -07:00
Nicolás Pazos
b2e8e9b961
Remote Write e2e benchmarks
2023-11-01 09:57:10 -03:00
Nicolás Pazos
d3de9d7c4e
lint
2023-10-31 09:52:55 -03:00
Nicolás Pazos
ebdf0739dc
fix typo in log
2023-10-30 18:28:13 -03:00
Nicolás Pazos
d6522a23d8
remote write handler to checks version header
2023-10-30 18:28:13 -03:00
Nicolás Pazos
b76621130d
fields rewording in handler
2023-10-30 18:28:13 -03:00
Nicolás Pazos
85c71463c6
fix NewWriteClient and change new flags wording
2023-10-30 18:28:13 -03:00
alexgreenbank
95b419356f
gofmt
2023-10-30 18:28:13 -03:00
alexgreenbank
f923e043d5
Remove config, update proto
2023-10-30 18:28:13 -03:00
alexgreenbank
3f2342e8b5
Add 1.1 version handling code
2023-10-30 18:28:13 -03:00
Nicolás Pazos
d4fa5cb98d
cleanup: remove hardcoded fake url for testing
2023-10-30 18:28:13 -03:00
Nicolás Pazos
9bb5dc0e8e
Use github.com/golang/snappy
2023-10-30 18:28:13 -03:00
Nicolás Pazos
5974639b8c
Improve sender benchmarks and some allocations
2023-10-30 18:28:13 -03:00
Nicolás Pazos
2291048ef9
fix build
2023-10-30 18:28:13 -03:00
Nicolás Pazos
59ac7e62d5
refactor queue manager code to remove some duplication
2023-10-30 18:28:13 -03:00
Nicolás Pazos
3c954b5358
add sender-side tests and fix failing ones
2023-10-30 18:28:13 -03:00
Nicolás Pazos
f4d1953f74
fix: queue manager to include float histograms in new requests
2023-10-30 18:28:13 -03:00
Nicolás Pazos
17b4282cc8
refactor out common code between write methods
2023-10-30 18:28:13 -03:00
Nicolás Pazos
679541d6dc
add basic reduce remote write handler benchmark
2023-10-30 18:28:13 -03:00
Nicolás Pazos
267d8850d7
fix mocks and fixture
2023-10-30 18:28:13 -03:00
Nicolás Pazos
fa02fa66b4
remove some comented code
2023-10-30 18:28:13 -03:00
Nicolás Pazos
4f8453d2b6
no-brainer copypaste but more performance write support
2023-10-30 18:28:13 -03:00
Nicolás Pazos
d6b072e039
Fix test
2023-10-30 18:28:13 -03:00
Nicolás Pazos
1f944e0c16
add new proto support on receiver end
2023-10-30 18:28:13 -03:00
Nicolás Pazos
5953e9f075
tests and new -> original proto mapping util
2023-10-30 18:28:13 -03:00
Callum Styan
c10aecf72f
Add new test client
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03:00
Callum Styan
b5413a1343
update example server to include handler for new format
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03:00
Callum Styan
4923ff95b3
Implement code paths for new proto format
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03:00
Callum Styan
441a080e8a
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-10-30 18:28:13 -03:00
Callum Styan
46cc045b5e
add decode function for new write request proto
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03:00
Callum Styan
1165613688
add new proto types
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03:00
Callum Styan
58e1f804f4
replace snappy encoding library
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2023-10-30 18:28:13 -03: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
Danny Kopping
498b836654
Refactoring manager.go into separate concerns
...
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
2023-10-21 11:11:11 +02:00
Rens Groothuijsen
122f9506e9
Set test group interval default to evaluation interval ( #13011 )
...
Signed-off-by: Rens Groothuijsen <l.groothuijsen@alumni.maastrichtuniversity.nl>
2023-10-20 21:32:46 +11:00
Bartlomiej Plotka
6d083312e7
native-histograms: Fixed PrometheusProto scrape format preference. ( #13010 )
...
Broken by https://github.com/prometheus/prometheus/pull/12738 . We have to update both global variables (as GlobalConfig is not a pointer here).
DefaultConfig is used when no global: section is provided, whereas DefaultGlobalConfig is used when it's provided and for individual scrape configs.
Reported on #prometheus-dev (thanks to @beorn7): https://cloud-native.slack.com/archives/C01AUBA4PFE/p1697733267205649
Tested manually, it would be nice to add test at some point (quick fix for now).
Signed-off-by: bwplotka <bwplotka@gmail.com>
2023-10-19 20:38:45 +01:00