Skip to content

Commit 1df0006

Browse files
authored
Merge pull request #299 from HarperDB/document-analytics-replicate-setting
Document analytics config settings
2 parents 0906f0e + c5b4c6c commit 1df0006

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/deployments/configuration.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ logging:
709709
logSuccessful: false
710710
```
711711

712-
## Defining Separate Logging Configurations
712+
#### Defining Separate Logging Configurations
713713

714714
Harper's logger supports defining multiple logging configurations for different components in the system. Each logging configuration can be assigned its own `path` (or `root`), `level`, `tag`, and flag to enable/disable logging to `stdStreams`. All logging defaults to the configuration of the "main" logger as configured above, but when logging is configured for different loggers, they will use their own configuration. Separate loggers can be defined:
715715

@@ -1223,6 +1223,26 @@ Using the API:
12231223
}
12241224
```
12251225

1226+
### analytics
1227+
1228+
`analytics_aggregatePeriod` - _Type_: number; _Default_: 60 (seconds)
1229+
1230+
This defines how often recorded metrics in the `system.hdb_raw_analytics` table are aggregated into the `system.hdb_analytics` table. The analytics operations in the operations API exclusively use the aggregated analytics.
1231+
1232+
```yaml
1233+
analytics:
1234+
aggregatePeriod: 60
1235+
```
1236+
1237+
`analytics_replicate` - _Type_: boolean; _Default_: false
1238+
1239+
This defines whether or not the aggregated analytics data in `system.hdb_analytics` should be replicated to the rest of the cluster.
1240+
1241+
```yaml
1242+
analytics:
1243+
replicate: true
1244+
```
1245+
12261246
---
12271247

12281248
### Components

0 commit comments

Comments
 (0)