Skip to content

[MongoHook] support creation of time series collections #33076

@gemunet

Description

@gemunet

Description

Mongo creates the collections automatically, but from mongo v5 you can create time series collections, for this you can create them with the 'db.createCollection' method that is not exposed in the MongoHook api.

https://www.mongodb.com/docs/manual/core/timeseries/timeseries-procedures/

Could support be added by exposing the createCollection api or by adding time series creation arguments to the current get_collection ?

Use case/motivation

support new time series collections

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions