Skip to content

Update common-lib to 0.6.0#1602

Open
v-zhuravlev wants to merge 2 commits intografana:masterfrom
v-zhuravlev:commonlib-0.6.0
Open

Update common-lib to 0.6.0#1602
v-zhuravlev wants to merge 2 commits intografana:masterfrom
v-zhuravlev:commonlib-0.6.0

Conversation

@v-zhuravlev
Copy link
Contributor

Update commonlib with new signals features:

0.6.0

  • [Signal] feat: add new type of aggregation "aggKeepLabels" in addition to "group", "instance", "none".
  • [Signal] feat: updated legend default format: ": ()".
  • [Signal] feat: quantile=0.95 is removed from args of unmarshallJsonMulti(). Instead .withQuantile(q=0.05) modifier function is introduced, allowing multiple qunatiles to be rendered from the single signal.
  • [Signal] feat: introduce modifier signal functions: withLegendFormat, withHideNameInLegend, withName, withNameShort, withAgglevel, withAggFunction, withInstanceLabels, withInstanceLabelsMixin, withGroupLabels, withGroupLabelsMixin, withInterval, withAlertsInterval, withRangeFunction, withUnit. This boosts singals flexibility, allowing them to be modified just before rendering in panels/alerts.
  • [Signal] feat: If signals of type=counter are rendered into tables (as columns etc...) their sum interval is changed from $__interval to $__range by default to accumulate sum of the full dashboard range.
  • [Signal] feat: If multiple signals are being rendered into single panel, the panel is now populated with all signals' descriptions. All of them are appended with signals' short names.
  • [Signal] chore: all renderer functions use this.signalName as name.

Note: sorry, for large PR, I found those features hard to extract into separate PRs 🙏 .

There should be no breaking changes, but keep an eye on panel descriptions as they would be rendered differently now.

Hope CHANGELOG/README and new tests helps to get what is new.

@v-zhuravlev v-zhuravlev requested a review from a team as a code owner March 5, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant