Skip to content

Commit

Permalink
[dbnode][query] Add ability to set and retrieve AggregationOptions vi…
Browse files Browse the repository at this point in the history
…a namespace APis (#2661)
  • Loading branch information
nbroyles authored Sep 29, 2020
1 parent 946161b commit ac8259a
Show file tree
Hide file tree
Showing 20 changed files with 1,452 additions and 80 deletions.
18 changes: 18 additions & 0 deletions scripts/development/m3_stack/start_m3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ curl -vvvsSf -X POST localhost:7201/api/v1/namespace -d '{
"indexOptions": {
"enabled": true,
"blockSizeDuration": "10m"
},
"aggregationOptions": {
"aggregations": [
{
"aggregated": false
}
]
}
}
}'
Expand All @@ -215,7 +222,18 @@ curl -vvvsSf -X POST localhost:7201/api/v1/namespace -d '{
"indexOptions": {
"enabled": true,
"blockSizeDuration": "2h"
},
"aggregationOptions": {
"aggregations": [
{
"aggregated": true,
"attributes": {
"resolutionDuration": "30s"
}
}
]
}
}
}'
echo "Done initializing namespaces"
Expand Down
Loading

0 comments on commit ac8259a

Please sign in to comment.