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

Additional metrics for timeseries API call and CSV export #952

Merged
merged 4 commits into from
Apr 23, 2021

Conversation

ukutaht
Copy link
Contributor

@ukutaht ukutaht commented Apr 23, 2021

Changes

Adds a new option metrics for the /api/v1/stats/timeseries API call. Non-breaking change. The metrics parameter defaults to visitors but it can be specified as visitors,pageviews,visit_duration,bounce_rate or any combination of metrics to get more timeseries information.

CSV export will now include all 4 metrics by default.
CSV export uses non-sampled queries to provide the most accurate data.

Tests

  • Automated tests have been added

Changelog

  • Entry has been added to changelog

Documentation

@ukutaht ukutaht merged commit b107717 into master Apr 23, 2021
@ukutaht ukutaht deleted the improve-timeseries branch April 23, 2021 12:27
@gaodeng
Copy link

gaodeng commented Jan 20, 2023

@ukutaht
Could you please add another metric - events

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