Andreas Deininger
5f5a56ed01
docs: Fix typos ( #14376 )
2024-01-05 22:34:02 +01:00
Paweł Żak
5810a9e4e5
chore(linters): Enable `appendCombine` checker for gocritic ( #14451 )
2024-01-03 07:16:26 -07:00
Paweł Żak
97f47c11dd
chore(linters): Fix findings found by testifylint: empty ( #14179 )
2023-10-25 15:09:13 -06:00
Sven Rebhan
a8af81c8c9
feat(aggregators.final): Allow to specify output strategy ( #14062 )
2023-10-12 14:28:10 -06:00
Joshua Powers
ca13259989
feat(aggregators.basicstats): Add percentage change ( #13118 )
2023-05-02 13:24:43 +02:00
r3inbowari
19c4316694
chore: Update README.md ( #12989 )
2023-04-04 13:43:49 +02:00
Joshua Powers
cb040d68d3
docs(aggregators.derivative): Add explanation of calculations ( #12758 )
2023-03-01 14:32:58 +01:00
Thomas Casteleyn
6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf ( #12722 )
2023-02-23 06:49:36 -07:00
Paweł Żak
4201f24020
chore: Fix linter findings for errorlint (part2) ( #12702 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Sven Rebhan
200044a495
docs: fix remaining markdownlinter issues ( #12658 )
2023-02-09 10:57:08 -07:00
Thomas Casteleyn
61523bd4b9
feat(tools/readme_linter): Check for global configuration section ( #12426 )
2023-01-12 16:55:21 +01:00
Paweł Żak
4717a03509
chore: Fix linter findings for makezero (part2) ( #12362 )
2022-12-09 16:38:37 +01:00
Paweł Żak
c30518d853
chore: Wrap long lines in plugins/aggregators ( #12183 )
2022-11-08 18:42:36 +01:00
reimda
59966d390c
chore: log errors when adding to quantile aggregator ( #12191 )
2022-11-08 08:06:27 -07:00
Joshua Powers
ea1ae642cb
docs: ran make docs ( #12120 )
2022-10-27 13:40:44 -06:00
Matthijs Kooijman
b446acb850
docs(aggregators.derivative): Remove incorrect comment ( #12026 )
2022-10-27 13:16:56 -06:00
Joshua Powers
49ac03fa80
docs: add global configuration header ( #12107 )
2022-10-26 14:58:36 -05:00
Shobhit Kumar
eebe859ce6
docs(aggregators.starlark): corrected typo mentioning wrong func name ( #12066 )
2022-10-20 07:27:07 -06:00
Paweł Żak
9ff5cda6e8
chore: Resolve linter issues for plugins/common package ( #11964 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Sebastian Spaink
d67f75e557
docs: Remove warning not to remove go:embed ( #11797 )
...
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
reimda
07179c466b
chore: Use build tags to select plugins ( #11654 )
2022-08-15 22:44:59 +02:00
Sven Rebhan
a049175e58
fix: Restore sample configurations broken during initial migration ( #11276 )
2022-06-22 13:33:58 -06:00
reimda
34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins ( #10960 )
2022-06-06 17:04:28 -06:00
Joshua Powers
2fc19fa308
chore: correctly spell embed ( #11200 )
2022-05-27 07:13:47 -06:00
Sven Rebhan
1b0bf3579b
chore: Embed sample configurations into README for aggregators ( #11190 )
2022-05-25 10:25:51 -06:00
Sebastian Spaink
4b3a5d5559
chore(aggregators): migrate sample configs into separate files ( #11130 )
2022-05-18 11:29:55 -05:00
Sebastian Spaink
b139ee7997
fix: update starlark 7a1108eaa012->d1966c6b9fcd ( #10940 )
2022-04-12 07:54:25 -06:00
Sebastian Spaink
43017e14dd
feat: migrate aggregator plugins to new sample config format ( #10912 )
2022-04-06 14:40:17 -06:00
Eugene Komarov
92d1b0efcf
fix: add push only updated values flag to histogram aggregator ( #10515 )
2022-02-24 15:04:58 -07:00
Joshua Powers
9cfd7491f8
docs: add expriation_interval to readme ( #10583 )
2022-02-03 15:05:47 -07:00
Eugene Komarov
5b58d0ded6
feat: aggregator histogram add expiration ( #10520 )
2022-02-03 15:05:33 -07:00
reimda
df6bf48f8d
feat: Implement deprecation infrastructure ( #10200 )
2021-12-01 12:38:43 -07:00
Paweł Żak
d9eb4d06c5
fix: Linter fixes for plugins/aggregators/[a-z]* ( #10182 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:18:33 -06:00
Joshua Powers
96e939a082
chore: clean up all markdown lint errors in aggregator plugins ( #10151 )
2021-11-24 11:45:12 -07:00
Mya
5f9bd0d951
chore: remove nolint ( #10138 )
2021-11-19 12:26:19 -07:00
Nicolas Filotto
4f2ade5305
feat: Add support of aggregator as Starlark script ( #9419 )
2021-11-18 15:37:59 -07:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Paweł Żak
74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused ( #8984 )
...
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* "nolint"'s removed
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Karsten Schnitter
927d34f66c
Add Derivative Aggregator Plugin ( #3762 )
...
Calculate derivatives based on time or fields.
2021-03-03 14:33:21 -05:00
Paweł Żak
8a6907a186
Revive fixes - part 3 ( #8872 )
...
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Sven Rebhan
b6b5d34060
Add quantile aggregator plugin ( #8594 )
2021-02-17 15:22:33 -07:00
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Patrick Hemmer
910b726876
Optimize SeriesGrouper & aggregators.merge ( #8391 )
...
The previous implementation of SeriesGrouper required breaking a metric object apart into its constituents, converting tags and keys into unoptimized maps, only to have it put them back together into another metric object. This resulted in a significant performance overhead. This overhead was further compounded when the number of fields was large.
This change adds a new AddMetric method to SeriesGrouper which preserves the metric object and removes the back-and-forth conversion.
Additionlly the method used for calculating the metric's hash was switched to use maphash, which is optimized for this case.
----
Benchmarks
Before:
BenchmarkMergeOne-16 106012 11790 ns/op
BenchmarkMergeTwo-16 48529 24819 ns/op
BenchmarkGroupID-16 780018 1608 ns/op
After:
BenchmarkMergeOne-16 907093 1173 ns/op
BenchmarkMergeTwo-16 508321 2168 ns/op
BenchmarkGroupID-16 11217788 99.4 ns/op
2021-01-07 11:39:12 -05:00
Olli-Pekka Lehto
245bef2f3a
Add rate and interval to the basicstats aggregator plugin ( #8428 )
2020-11-20 15:53:51 -05:00
Felix Edelmann
32d80d2a08
Add non-cumulative histogram ( #7071 )
2020-03-02 10:59:19 -08:00
Daniel Nelson
5f52b9538d
Fix indention in merge sample config
2020-01-08 10:48:06 -08:00
Samantha Wang
d62ff1d25c
Update merge aggregator config file in README.md ( #6805 )
2020-01-08 10:46:01 -08:00