-
Notifications
You must be signed in to change notification settings - Fork 119
[Kibana SLO] Add tags
support
#495
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
Conversation
fd7de03
to
e509e5d
Compare
b4821b8
to
b6c9c3c
Compare
Good: d.Get(indicatorType + ".0.good").(string), | ||
Total: d.Get(indicatorType + ".0.total").(string), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
types changed 🤷
Type: indicatorAddressToType[indicatorType], | ||
Params: slo.IndicatorPropertiesCustomMetricParams{ | ||
Filter: d.Get(indicatorType + ".0.filter").(string), | ||
Filter: getOrNilString(indicatorType+".0.filter", d), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
types changed 🤷
resource.TestCheckResourceAttr("elasticstack_kibana_slo.test_slo", "settings.0.sync_delay", "1m"), | ||
resource.TestCheckResourceAttr("elasticstack_kibana_slo.test_slo", "settings.0.frequency", "1m"), | ||
resource.TestCheckResourceAttr("elasticstack_kibana_slo.test_slo", "space_id", "default"), | ||
resource.TestCheckResourceAttr("elasticstack_kibana_slo.test_slo", "group_by", "some.field"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
group_by
is not compatible with 8.9.0
, but it didn't fail before because our CreateSlo
method didn't include it in the request (added here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Toby Brain <tobio85@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
SLO client updated from OAS + adding tags support