Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to filter out default values from dashboard sections. #296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Apr 22, 2024

Default values are zero-ed out by the APIs, causing lots of diffs between wat's live and what's being proposed.

This changes the behavior to zero out known common fields.

I wasn't able to test this out effectively locally on any existing setups with dev_overrides. If you have any tips for how to develop locally let me know! 馃檹

Default values are zero-ed out by the APIs, causing lots of diffs
between wat's live and what's being proposed.

This changes the behavior to zero out known common fields.
groupByFields = var.denominator_group_by_fields
perSeriesAligner = var.denominator_align == local.default_align ? null : var.denominator_align
crossSeriesReducer = var.denominator_reduce == local.default_reduce ? null : var.denominator_reduce
groupByFields = length(var.denominator_group_by_fields)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is incomplete?

@k4leung4
Copy link
Contributor

Default values are zero-ed out by the APIs, causing lots of diffs between wat's live and what's being proposed.

This changes the behavior to zero out known common fields.

I wasn't able to test this out effectively locally on any existing setups with dev_overrides. If you have any tips for how to develop locally let me know! 馃檹

my advice for testing this is to spin up the stack in your own project

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.

None yet

2 participants