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 SLO summary widget support #277

Merged
merged 2 commits into from
Oct 21, 2019
Merged

Conversation

platinummonkey
Copy link
Contributor

Adds the slo widget type support to boards

TitleAlign *string `json:"title_align,omitempty"`

// SLO specific
ViewType *string `json:"view_type,omitempty"` // currently only "detail" is supported
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need omitempty here? view_type is required in the schema.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I left it as omitempty to let the default handlers on the API raise validation error if it's not specified

Copy link
Collaborator

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

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

LGTM, @bkabrda ok to merge ?

@bkabrda
Copy link
Collaborator

bkabrda commented Oct 21, 2019

Yeah, LGTM. Merging.

@bkabrda bkabrda merged commit a7b0fa3 into zorkian:master Oct 21, 2019
@platinummonkey platinummonkey deleted the slo-widget branch October 21, 2019 16:01
kazz187 pushed a commit to kazz187/go-datadog-api that referenced this pull request Nov 28, 2019
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