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

Adding limit query parameter origin inspector #568

Conversation

jsonroy-fastly
Copy link
Contributor

This PR adds the missing limit query parameter to the request on origin inspector endpoint.

@@ -91,6 +91,8 @@ type GetOriginMetricsInput struct {
End *time.Time
// GroupBy is the dimensions to return in the query.
GroupBy []string
// Limit is the limit of returned data
Copy link
Contributor

Choose a reason for hiding this comment

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

Please describe the units of this; is it entries, rows, something else?

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 changed it to Limit is the limit of entries requested, I also took the initiative to change it under domain inspector too.

Copy link
Contributor

@kpfleming kpfleming left a comment

Choose a reason for hiding this comment

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

I edited the 'limit' descriptions to be more in line with other descriptions across our API schemas.

fastly/stats_domain_inspector.go Outdated Show resolved Hide resolved
fastly/stats_origin_inspector.go Outdated Show resolved Hide resolved
jsonroy-fastly and others added 2 commits November 27, 2024 09:12
Co-authored-by: Kevin P. Fleming <kpfleming@users.noreply.github.com>
Co-authored-by: Kevin P. Fleming <kpfleming@users.noreply.github.com>
@jsonroy-fastly jsonroy-fastly merged commit 58e4f6e into fastly:main Nov 27, 2024
3 checks passed
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.

2 participants