-
Notifications
You must be signed in to change notification settings - Fork 73
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 assets to the package spec #767
Conversation
spec/integration/kibana/spec.yml
Outdated
|
||
- description: Folder containing Kibana SLO assets | ||
type: folder | ||
name: slo |
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.
@jsoriano I have a draft PR here that adds the SLO assets to the kibana spec. I plan to add some unit tests in the PR, but here's what CI is complaining about at the moment:
could not load spec for "integration/kibana/spec.yml": could not parse folder specification file: yaml
I have a couple of questions:
- Could you further assist why I am getting this error? I gave the name
slo
to the new folder. Shall I specify somewhere else what is considered a valid folder name? - Where shall I write my unit tests?
- I was reading the Contributing guide. Shall I create a new Change Proposal issue?
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.
CI is complaining
It turns out it was an indentation issue, which was fixed in this commit
Where shall I write my unit tests?
I added following slo examples:
test/packages/good/kibana/slo/good-slo-abc-1.json
test/packages/good_v2/kibana/slo/good_v2-slo-abc-1.json
test/packages/good_v3/kibana/slo/good_v3-slo-abc-1.json
Shall I create a new Change Proposal issue?
I didn't create any new issue, cause I found this one.
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.
@mgiota - Do we need to load the SLO's inside the Kibana directory? Are there any guideline on defining SLO's.
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.
@muthu-mps I added it here as per @jsoriano 's recommendation in the past. Here's the public SLO API and the SLO Elastic documentation
In this PR I added some examples of SLO creation.
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.
In this commit I updated the README file to include the SLO assets. As you can see there are many other Kibana assets in the list as for example rules, ml modules, dashboards and I guess it makes sense to add slo
here as well.
@jsoriano I open up this PR for review. Let me know what other changes I might need to do that I am not aware of. Thanks! |
test integrations |
Created or updated PR in integrations repository to test this version. Check elastic/integrations#10231 |
I was following the Contributing guide and I commented |
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.
Change LGTM, but we have to decide on what version we would release it, and add a changelog entry.
To decide what version to use, the main question would be regarding the level of support in Kibana. If a package using this feature requires changes in Kibana to work properly, then we should add the change into 3.3.0-next
, if not, we can add it in 3.2.1-next
.
We release almost everything on patch versions, we use minors for changes that require also changes in Kibana, and majors for breaking or significant changes in the spec itself.
The failures there are not related to this change, no worries 🙂 aws package uses to be flaky, and azure_blob_storage has a known issue. |
As far as I understand there will be some changes in the Fleet module in kibana to make the whole integration work. So I guess we should add the change into
I found a couple of changelog files. Where exactly should we add the new SLO asset support? Or is the change you recommnded in the spec file enough? |
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
@jsoriano Now I am getting some validation errors:
Do I need to specify the new |
The problem is that the I would recommend to move the test files you added to the You can run these tests locally for faster feedback, with |
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.
Thanks!
💚 Build Succeeded
History
|
@jsoriano Looks like I am not authorized to merge this PR. Could you either merge the PR or grant me access to merge it? |
@mgiota Thank you for making this happen!!! |
Fixes https://github.com/elastic/observability-dev/issues/3602
✔️ Acceptance criteria