feat: influxdb.

This commit is contained in:
Bobo
2025-06-26 18:07:24 +08:00
parent 989f5da01f
commit fcd2a5ee43
3 changed files with 41 additions and 28 deletions

View File

@@ -48,12 +48,14 @@ message Data {
message MongoDB {
string uri = 1;
optional string username = 2;
optional string password = 3;
optional string database = 2;
optional string auth_mechanism = 4; // 认证机制SCRAM-SHA-1、SCRAM-SHA-256、MONGODB-X509、GSSAPI、PLAIN
map<string, string> auth_mechanism_properties = 5; // 认证机制属性
optional string auth_source = 6; // 认证源admin、$external等
optional string username = 10;
optional string password = 11;
optional string auth_mechanism = 20; // 认证机制SCRAM-SHA-1、SCRAM-SHA-256、MONGODB-X509、GSSAPI、PLAIN
map<string, string> auth_mechanism_properties = 21; // 认证机制属性
optional string auth_source = 22; // 认证源admin、$external等
google.protobuf.Duration connect_timeout = 50; // 连接超时时间
google.protobuf.Duration heartbeat_interval = 51; // 心跳间隔