-
Notifications
You must be signed in to change notification settings - Fork 59
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
Observability namespace #474
Conversation
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
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.
Great start! Needs tests.
You can add these specs piecemeal instead of everything at once, maybe start with something simple with tests, changelog, etc.?
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: Alen <78027095+aabeshov@users.noreply.github.com>
Changes AnalysisCommit SHA: 8c31adc API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10345881955/artifacts/1800221864 API Coverage
|
Spec Test Coverage Analysis
|
Agree with @dblock. This is a lot in one PR esp once you add the tests. Do break it into smaller PRs and thank you so much for the hard work :) |
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
It's okay ,thanks, I guess I am close to the finish line with these specs |
Looks like only the link checker is failing against Add an exclude file like here or change the test? |
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
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.
This looks good! I have some small asks and let's get this merged.
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
@dblock ,I don't know why but there is a 400 bad request when test story is making DELETE /_plugins/_query/_datasources/{datasource_name} |
We should show the detailed output for these errors (please open an issue). For now, add a |
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
[INFO] => DELETE /_plugins/_query/_datasources/test_datasource ({}) [application/json] ERROR query/datasources.yaml (/home/runner/work/opensearch-api-specification/opensearch-api-specification/tests/default/query/datasources.yaml) Here is the details. I am not sure, but maybe there is no such api in old versions |
get: | ||
operationId: observability.get_localstats.0 | ||
x-operation-group: observability.get_localstats | ||
x-version-added: '1.1' |
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.
please recheck x-version-added
. i think it can fix your ci issue
especially for APIs where you have failed tests
i tested your branch locally with latest version, everything works fine
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.
@Tokesh committed changes , you can check
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
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.
Looks good. I have 2 asks below.
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Signed-off-by: alen_abeshov <a_abeshov@kbtu.kz>
Looks like one of the tests here may fail intermittently:
@aabeshov care to take a look please? |
@dblock I guess I found the location of error, I have no idea why it's not persistent fail in test story. |
Thanks! I fixed it in #497 since it was failing often. Does that look right? Next time don't hold back and just make a PR :) |
Thanks , but I am really confused because in chapters first I do get request to specific object and it return that It exists then right after this step I do request to get list of all objects and sometimes it returns that list is empty that why it is expected for index to be 0 in some cases. |
Writing something doesn't guarantee that it will be read right away, it's eventually consistent. Since these options are backed by an index, refreshing means waiting for a full refresh cycle where everything written gets read consistently, making it predictable. Does this help? https://opensearch.org/docs/latest/api-reference/index-apis/refresh/ |
aaa okay now I got this, thanks! |
Description
Adding observability namespace specs.
Issues Resolved
Closes #230.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.