diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 02e54f4840118..220027f6c3d80 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -207,6 +207,8 @@ jobs: gcp_pubsub sink gcp_stackdriver_logs sink gcp_stackdriver_metrics sink + greptimedb_metrics sink + greptimedb_logs sink honeycomb sink http sink humio_logs sink diff --git a/src/sinks/greptimedb/metrics/config.rs b/src/sinks/greptimedb/metrics/config.rs index cb2b76dcf71ab..065a8656829d2 100644 --- a/src/sinks/greptimedb/metrics/config.rs +++ b/src/sinks/greptimedb/metrics/config.rs @@ -70,9 +70,6 @@ pub struct GreptimeDBMetricsConfig { /// /// The address _must_ include a port. #[configurable(metadata(docs::examples = "example.com:4001"))] - #[configurable(metadata( - docs::examples = "1nge17d2r3ns.ap-southeast-1.aws.greptime.cloud:4001" - ))] pub endpoint: String, /// The username for your GreptimeDB instance. /// @@ -88,7 +85,7 @@ pub struct GreptimeDBMetricsConfig { pub password: Option, /// Set gRPC compression encoding for the request /// Default to none, `gzip` or `zstd` is supported. - #[configurable(metadata(docs::examples = "grpc_compression"))] + #[configurable(metadata(docs::examples = "gzip"))] #[serde(default)] pub grpc_compression: Option, diff --git a/website/cue/reference/components/sinks/base/greptimedb.cue b/website/cue/reference/components/sinks/base/greptimedb.cue index 38134330252a9..0c38be3b9ed62 100644 --- a/website/cue/reference/components/sinks/base/greptimedb.cue +++ b/website/cue/reference/components/sinks/base/greptimedb.cue @@ -89,7 +89,7 @@ base: components: sinks: greptimedb: configuration: { The address _must_ include a port. """ required: true - type: string: examples: ["example.com:4001", "1nge17d2r3ns.ap-southeast-1.aws.greptime.cloud:4001"] + type: string: examples: ["example.com:4001"] } grpc_compression: { description: """ @@ -97,7 +97,9 @@ base: components: sinks: greptimedb: configuration: { Default to none, `gzip` or `zstd` is supported. """ required: false - type: string: examples: ["grpc_compression"] + type: string: examples: [ + "gzip", + ] } new_naming: { description: """ diff --git a/website/cue/reference/components/sinks/base/greptimedb_metrics.cue b/website/cue/reference/components/sinks/base/greptimedb_metrics.cue index f41ec11c84a48..4c83d48dae12f 100644 --- a/website/cue/reference/components/sinks/base/greptimedb_metrics.cue +++ b/website/cue/reference/components/sinks/base/greptimedb_metrics.cue @@ -89,7 +89,7 @@ base: components: sinks: greptimedb_metrics: configuration: { The address _must_ include a port. """ required: true - type: string: examples: ["example.com:4001", "1nge17d2r3ns.ap-southeast-1.aws.greptime.cloud:4001"] + type: string: examples: ["example.com:4001"] } grpc_compression: { description: """ @@ -97,7 +97,9 @@ base: components: sinks: greptimedb_metrics: configuration: { Default to none, `gzip` or `zstd` is supported. """ required: false - type: string: examples: ["grpc_compression"] + type: string: examples: [ + "gzip", + ] } new_naming: { description: """