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

Implement unstable SLO resource #91

Merged
merged 4 commits into from
Dec 2, 2024
Merged

Conversation

aschepis
Copy link
Collaborator

@aschepis aschepis commented Nov 21, 2024

This PR implements a new unstable resource for SLOs

@aschepis
Copy link
Collaborator Author

aschepis commented Nov 21, 2024

This change is part of the following stack:

Change managed by git-spice.

@aschepis aschepis requested a review from a team as a code owner November 21, 2024 17:47
@aschepis aschepis force-pushed the aschepis/unstable-slo-resource-2 branch from b149cd7 to 500e3f5 Compare November 22, 2024 18:44
Copy link

@marcushill marcushill left a comment

Choose a reason for hiding this comment

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

Left some comments, but this looks clean.

@@ -1976,6 +1976,9 @@
},
"span_count": {
"$ref": "#/definitions/TraceSearchFilterCountFilter"
},
"is_root_span": {
"$ref": "#/definitions/TraceSearchFilterBoolFilter"

Choose a reason for hiding this comment

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

Is it expected to see other things that aren't SLO related in this PR? I assume it means someone on another team just didn't run a gen command.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it CAN happen if we haven't updated in a while. not a big deal

// SwaggerParam is the name of the parameter to use in the swagger client request/response
// types. This will normally be the same as SwaggerType, but will be different for the
// SLO resource, where it is "Slo" instead of "SLO".
SwaggerParam string

Choose a reason for hiding this comment

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

This is just an override for SwaggerType, right? Something like SwaggerAPIType? "Param" confuses me here, but I don't have an explicit better name.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

because it is used the parameter name for the request/responses

@aschepis aschepis merged commit 39b9da4 into main Dec 2, 2024
2 checks passed
@aschepis aschepis deleted the aschepis/unstable-slo-resource-2 branch December 2, 2024 20:53
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.

3 participants