Snuba-sdk

Latest version: v3.0.43

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 13

2.0.6

-----
- Make the `granularity` field optional in the Rollup, so that it can
be automatically inferred by the API layer

2.0.5

-----
- Support the TOTALS clause in the Rollup of a MetricsQuery
- Allow 10s granularity in MetricsQuery

2.0.4

-----
- Fix a bug where the groupby on the MetricsQuery was not being serialized

2.0.3

-----

- Bug fixes and changes to support using the MetricsQuery in production
- Add `granularity` to the Rollup to delineate the interval (the results
bucketing) vs. the granularity of the underlying data
- `granularity` is mandatory for now
- This means adding back the restrictions of having interval or totals but not both
- Use the interval to rollup the time automatically
- This also means supporting arbitrary intervals
- Automatically order timeseries by the rolled up time
- Allow AliasedExpression in the groupby clause. This is to support resolving
in Sentry. The result of the query should have the original tag key, not the
resolved tag number. With AliasedExpression we can have Clickhouse do the mapping
automatically.

2.0.2

-----

- Add validators and translators for the MetricsQuery and all its child objects
- Rename some components to be consistent between Metric and Metrics
- Move MetricsScope and Rollup to the timeseries module
- Also stop treating them as Expressions, so they can be visited in a more nuanced way

2.0.1

-----

Various fixes & improvements

- add additional setters to metric query child classes (119) by enochtangg
- update contributing to reflect new release procedure (118) by evanh

Page 6 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.