Skip to content

Commit 94d4544

Browse files
claudespiceClaude
andauthored
Fix mongodb/connector recipe: correct version floor to v1.6.0+ (#475)
The MongoDB data connector was introduced in v1.6.0, but the recipe claimed 'Works with v1.0+'. Also remove two stale log lines from the expected 'spice run' output that no longer appear in v2.0 (the metrics server is off by default and the OpenTelemetry log line was removed), and fix duplicate 'Step 6.' numbering. Co-authored-by: Claude <claude@Claudes-Mac-mini.local>
1 parent 6210dda commit 94d4544

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

mongodb/connector/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MongoDB Data Connector
22

3-
Works with `v1.0+`
3+
Works with `v1.6.0+`
44

55
This recipe will use a demo instance of MongoDB with a generated dataset. Follow the recipe to create MongoDB instance and get started with MongoDB as a Data Connector.
66

@@ -130,10 +130,8 @@ Confirm in the terminal output the `sample_data` dataset has been loaded:
130130
```bash
131131
2025/01/13 11:52:51 INFO Spice.ai runtime starting...
132132
2025-01-13T19:52:51.473621Z INFO runtime::init::dataset: Initializing dataset sample_data
133-
2025-01-13T19:52:51.474059Z INFO runtime::metrics_server: Spice Runtime Metrics listening on 127.0.0.1:9090
134133
2025-01-13T19:52:51.474795Z INFO runtime::http: Spice Runtime HTTP listening on 127.0.0.1:8090
135134
2025-01-13T19:52:51.474869Z INFO runtime::flight: Spice Runtime Flight listening on 127.0.0.1:50051
136-
2025-01-13T19:52:51.481201Z INFO runtime::opentelemetry: Spice Runtime OpenTelemetry listening on 127.0.0.1:50052
137135
2025-01-13T19:52:51.491591Z INFO runtime::init::dataset: Dataset sample_data registered (mongodb:sample_data).
138136
2025-01-13T19:52:51.673260Z INFO runtime::init::results_cache: Initialized results cache; max size: 128.00 MiB, item ttl: 1s
139137
```
@@ -177,7 +175,7 @@ Time: 0.011687958 seconds. 10 rows.
177175

178176
For more information on using `spice sql`, see the [CLI reference](https://docs.spiceai.org/cli/reference/sql).
179177

180-
**Step 6.** Cleanup
178+
**Step 7.** Cleanup
181179

182180
```bash
183181
docker rm -f mongodb-cookbook

0 commit comments

Comments
 (0)