Skip to content

Commit

Permalink
Updated aggregation functions for InfluxDB 1.1 query language
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Dec 22, 2016
1 parent 95e6ab0 commit fc1d2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions influxgraph/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
# when used in a 'group by' query - we leave those to graphite-api to perform
INFLUXDB_AGGREGATIONS = [
# aggregations
'count', 'distinct', 'integral', 'mean', 'median', 'mode', 'spread', 'sum',
'count', 'distinct', 'integral', 'mean', 'median', 'mode', 'spread', 'stddev', 'sum',
# selectors
'bottom', 'first', 'last', 'max', 'min', 'percentile', 'top']
'bottom', 'first', 'last', 'max', 'min', 'percentile', 'sample', 'top']

DEFAULT_AGGREGATIONS = {r'\.min$' : 'min',
r'\.max$' : 'max',
Expand Down

0 comments on commit fc1d2cf

Please sign in to comment.