• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trickstercache / trickster / 23880393174
74%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 02:18AM UTC
Jobs 1
Files 306
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Apr 2026 02:14AM UTC coverage: 74.335% (-0.3%) from 74.68%
23880393174

push

github

web-flow
feat: [alb/tsm] per-query merge strategy for ALB time-series merge (#956)

* feat: [alb/tsm] configurable merge strategy for aggregation across backends (#927, #928)

Add a `merge_strategy` option to ALB TSM config (sum, avg, min, max,
count, dedup) so that values from matching series across backends are
re-aggregated instead of silently deduplicated. Fixes incorrect results
when fan-out queries use PromQL aggregation functions like sum().

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* fix: [ci] run one publish workflow from main at a time

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* test: bump coverage, address bugs

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* fix: [alb/tsm] strip injected labels before merge when using aggregation strategy

When merge_strategy is active, collect all injected label keys from pool
backends and strip them from each dataset before merging. This ensures
series from different backends hash identically despite having different
injected labels, enabling correct aggregation.

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* docs: update to reference merge strategy

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* fix: revert test config

Signed-off-by: Chris Randles <randles.chris@gmail.com>

* use per-query merge strategy. NOTE: Agentic AI used

Signed-off-by: James Ranson <james@ranson.org>

* linter

Signed-off-by: James Ranson <james@ranson.org>

* cleanup yaml

Signed-off-by: James Ranson <james@ranson.org>

* bump dependencies; golang 1.26 -> 1.26.1

---------

Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: James Ranson <james@ranson.org>
Co-authored-by: James Ranson <james@ranson.org>

382 of 632 new or added lines in 13 files covered. (60.44%)

15849 of 21321 relevant lines covered (74.34%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
146
33.66
-25.63% pkg/backends/alb/mech/tsm/time_series_merge.go
40
0.0
pkg/backends/prometheus/tsm_provider.go
23
41.05
41.05% pkg/proxy/response/merge/timeseries.go
15
92.04
-1.73% pkg/timeseries/dataset/dataset.go
11
90.35
pkg/timeseries/dataset/point_aggregate.go
4
97.14
-2.86% pkg/timeseries/dataset/series_list.go
3
94.07
0.26% pkg/timeseries/dataset/series_header.go
2
94.0
-3.83% pkg/backends/prometheus/handler_query.go
2
78.95
-7.72% pkg/backends/prometheus/handler_query_range.go
2
93.1
pkg/backends/prometheus/promql/outer_aggregator.go
2
97.26
-2.74% pkg/timeseries/dataset/tags.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.26 - 23880393174.1 02 Apr 2026 02:18AM UTC 306
74.34
GitHub Action Run
Source Files on build 23880393174
  • Tree
  • List 306
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 54df26f2 on github
  • Prev Build on main (#23721953926)
  • Next Build on main (#23910179214)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc