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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add connection dimension. Add variable list of tag dimensions (default Owner). #112

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

e-gineer
Copy link
Contributor

No description provided.

end as reason,
region,
account_id,
_ctx ->> 'connection_name' as connection

Choose a reason for hiding this comment

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

I think if we re going to add an ability to specify additional dimensions anyway, we should not hardcode _ctx ->> 'connection_name' as a dimension. The control title already get truncated and this will make it worse. Also, _ctx ->> 'connection_name' is about the only "custom" dimension that you could add anyway right now, since the other common columns are already included.

@@ -7,6 +7,20 @@ locals {
}
}

variable "tag_dimensions" {
type = list(string)
description = "A list of tags to add as dimensions to each control."

Choose a reason for hiding this comment

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

Maybe the description should state the caveats:

  • The added dimension column must appear in every control query ( i assume we are generalizing this?)
  • The added dimension column must be unique in every control query (when joining tables)

…sions SQL to include qualifier support when required.
@misraved misraved changed the base branch from main to release/v0.19 January 17, 2023 09:57
@misraved misraved merged commit 398485d into release/v0.19 Jan 31, 2023
@misraved misraved deleted the connection-and-tag-dimensions branch January 31, 2023 12:17
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.

4 participants