From 79202c8a525fc7c0da1fecb7d252e3aa9415881a Mon Sep 17 00:00:00 2001 From: Nick Sanford Date: Wed, 13 Nov 2024 13:23:55 -0500 Subject: [PATCH] wip --- docs/services/data/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/services/data/_index.md b/docs/services/data/_index.md index 888a3eaf64..899f310a95 100644 --- a/docs/services/data/_index.md +++ b/docs/services/data/_index.md @@ -272,7 +272,7 @@ The following attributes are available for the data management service: | `sync_interval_mins` | float | Optional | Time interval in minutes between syncing to the cloud. Viam does not impose a minimum or maximum on the frequency of data syncing. However, in practice, your hardware or network speed may impose limits on the frequency of data syncing.
Default: `0.1`, meaning once every 6 seconds. |

| | `delete_every_nth_when_disk_full` | int | Optional | How many files to delete when local storage meets the [fullness criteria](/services/data/#storage). The data management service will delete every Nth file that has been captured upon reaching this threshold. Use JSON mode to configure this attribute.
Default: `5`, meaning that every fifth captured file will be deleted. |

| | `maximum_num_sync_threads` | int | Optional | Max number of CPU threads to use for syncing data to the Viam Cloud.
Default: [runtime.NumCPU](https://pkg.go.dev/runtime#NumCPU)/2 so half the number of logical CPUs available to viam-server |

| -| `mongo_capture_config.uri` | string | Optional | The [MongoDB URI](https://www.mongodb.com/docs/v6.2/reference/connection-string/) data capture will attempt to write tabular data to after it is enqueued to be written to disk. When non empty, data capture will capture tabular data to the configured MongoDB database & collection at that URI.
See `mongo_capture_config.database` and `mongo_capture_config.collection` below for database & collection defaults.
See [here](/services/data/#capture-directly-to-mongodb) for an example config.|

| +| `mongo_capture_config.uri` | string | Optional | The [MongoDB URI](https://www.mongodb.com/docs/v6.2/reference/connection-string/) data capture will attempt to write tabular data to after it is enqueued to be written to disk. When non empty, data capture will capture tabular data to the configured MongoDB database & collection at that URI.
See `mongo_capture_config.database` and `mongo_capture_config.collection` below for database & collection defaults.
See [Data Capture Directly To MongoDB](/services/data/#capture-directly-to-mongodb) for an example config.|

| | `mongo_capture_config.database` | string | Optional | When `mongo_capture_config.uri` is non empty, changes the database data capture will write tabular data to.
Default: `"sensorData"` |

| | `mongo_capture_config.collection` | string | Optional | When `mongo_capture_config.uri` is non empty, changes the collection data capture will write tabular data to.
Default: `"readings"` |

| | `cache_size_kb` | float | Optional | `viam-micro-server` only. The maximum amount of storage bytes (in kilobytes) allocated to a data collector.
Default: `1` KB. |

|