Skip to content

Commit 1a7599d

Browse files
authored
Merge branch 'master' into add_more_cardinality_limit_metrics
2 parents a307e06 + 3749b70 commit 1a7599d

File tree

79 files changed

+3585
-2247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3585
-2247
lines changed

.github/workflows/semantic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ jobs:
159159
kubernetes_logs source
160160
logstash source
161161
mongodb_metrics source
162+
mqtt source
162163
nats source
163164
new source
164165
nginx_metrics source

Cargo.lock

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ rand = { version = "0.9.2", default-features = false, features = ["small_rng", "
179179
rand_distr = { version = "0.5.1", default-features = false }
180180
regex = { version = "1.11.2", default-features = false, features = ["std", "perf"] }
181181
reqwest = { version = "0.11.26", features = ["json"] }
182-
rust_decimal = { version = "1.33", default-features = false, features = ["std"] }
182+
rust_decimal = { version = "1.37.0", default-features = false, features = ["std"] }
183183
semver = { version = "1.0.26", default-features = false, features = ["serde", "std"] }
184184
serde = { version = "1.0.219", default-features = false, features = ["alloc", "derive", "rc"] }
185185
serde_json = { version = "1.0.143", default-features = false, features = ["raw_value", "std"] }
@@ -200,6 +200,7 @@ vector-config-common = { path = "lib/vector-config-common" }
200200
vector-config-macros = { path = "lib/vector-config-macros" }
201201
vector-common-macros = { path = "lib/vector-common-macros" }
202202
vector-lib = { path = "lib/vector-lib", default-features = false, features = ["vrl"] }
203+
vector-vrl-functions = { path = "lib/vector-vrl/functions" }
203204
vrl = { git = "https://github.com/vectordotdev/vrl.git", branch = "main", features = ["arbitrary", "cli", "test", "test_framework"] }
204205
mock_instant = { version = "0.6" }
205206
serial_test = { version = "3.2" }
@@ -227,7 +228,7 @@ vector-lib.workspace = true
227228
vector-config.workspace = true
228229
vector-config-common.workspace = true
229230
vector-config-macros.workspace = true
230-
vector-vrl-functions = { path = "lib/vector-vrl/functions" }
231+
vector-vrl-functions.workspace = true
231232
loki-logproto = { path = "lib/loki-logproto", optional = true }
232233

233234
# Tokio / Futures
@@ -341,6 +342,7 @@ arc-swap = { version = "1.7", default-features = false, optional = true }
341342
async-compression = { version = "0.4.27", default-features = false, features = ["tokio", "gzip", "zstd"], optional = true }
342343
apache-avro = { version = "0.16.0", default-features = false, optional = true }
343344
arrow = { version = "56.2.0", default-features = false, features = ["ipc"], optional = true }
345+
arrow-schema = { version = "56.2.0", default-features = false, optional = true }
344346
axum = { version = "0.6.20", default-features = false }
345347
base64 = { workspace = true, optional = true }
346348
bloomy = { version = "1.2.0", default-features = false, optional = true }
@@ -583,7 +585,7 @@ enrichment-tables-mmdb = ["dep:maxminddb"]
583585
enrichment-tables-memory = ["dep:evmap", "dep:evmap-derive", "dep:thread_local"]
584586

585587
# Codecs
586-
codecs-arrow = ["vector-lib/arrow"]
588+
codecs-arrow = ["dep:arrow", "dep:arrow-schema", "vector-lib/arrow"]
587589
codecs-opentelemetry = ["vector-lib/opentelemetry"]
588590
codecs-syslog = ["vector-lib/syslog"]
589591

@@ -653,7 +655,7 @@ sources-aws_s3 = ["aws-core", "dep:aws-sdk-sqs", "dep:aws-sdk-s3", "dep:async-co
653655
sources-aws_sqs = ["aws-core", "dep:aws-sdk-sqs"]
654656
sources-datadog_agent = ["sources-utils-http-encoding", "protobuf-build", "dep:prost"]
655657
sources-demo_logs = ["dep:fakedata"]
656-
sources-dnstap = ["sources-utils-net-tcp", "dep:base64", "dep:hickory-proto", "dep:dnsmsg-parser", "dep:dnstap-parser", "protobuf-build", "dep:prost"]
658+
sources-dnstap = ["sources-utils-net-tcp", "dep:base64", "dep:hickory-proto", "dep:dnsmsg-parser", "dep:dnstap-parser", "protobuf-build", "dep:prost", "vector-vrl-functions/dnstap"]
657659
sources-docker_logs = ["docker"]
658660
sources-eventstoredb_metrics = []
659661
sources-exec = []
@@ -851,7 +853,7 @@ sinks-azure_blob = ["dep:azure_core", "dep:azure_identity", "dep:azure_storage",
851853
sinks-azure_monitor_logs = []
852854
sinks-blackhole = []
853855
sinks-chronicle = []
854-
sinks-clickhouse = []
856+
sinks-clickhouse = ["dep:rust_decimal", "codecs-arrow"]
855857
sinks-console = []
856858
sinks-databend = ["dep:databend-client"]
857859
sinks-datadog_events = []
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The `mqtt` source config field `topic` can now be a list of mqtt topic strings instead of just a string. If a list is provided, the `mqtt` source client will subscribe to all the topics.
2+
3+
authors: december1981
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The `clickhouse` sink now supports the `arrow_stream` format option, enabling high-performance binary data transfer using Apache Arrow IPC. This provides significantly better performance and smaller payload sizes compared to JSON-based formats.
2+
3+
authors: benjamin-awd
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fixed the opentelemetry source to collect HTTP headers for logs with or without `use_otlp_decoding` configuration option.
2+
3+
authors: ozanichkovsky
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Vector-specific VRL functions are now available everywhere. Previously some functions were not
2+
available inside codec VRL transforms and in the VRL cli (via `vector vrl`).
3+
4+
authors: thomasqueirozb

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ allow-unwrap-in-tests = true
55
# https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_method
66
disallowed-methods = [
77
{ path = "std::io::Write::write", reason = "This doesn't handle short writes, use `write_all` instead." },
8+
{ path = "vrl::stdlib::all", reason = "Use `vector_vrl_functions::all()` instead for consistency across all Vector VRL functions." },
89
]
910

1011
disallowed-types = [

lib/codecs/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ path = "tests/bin/generate-avro-fixtures.rs"
1515
[dependencies]
1616
apache-avro = { version = "0.20.0", default-features = false }
1717
arrow = { version = "56.2.0", default-features = false, features = ["ipc"] }
18+
async-trait.workspace = true
1819
bytes.workspace = true
1920
chrono.workspace = true
20-
rust_decimal = { version = "1.37", default-features = false, features = ["std"] }
21+
rust_decimal.workspace = true
2122
csv-core = { version = "0.1.12", default-features = false }
2223
derivative.workspace = true
2324
dyn-clone = { version = "1", default-features = false }
@@ -45,6 +46,7 @@ vector-common = { path = "../vector-common", default-features = false }
4546
vector-config = { path = "../vector-config", default-features = false }
4647
vector-config-macros = { path = "../vector-config-macros", default-features = false }
4748
vector-core = { path = "../vector-core", default-features = false, features = ["vrl"] }
49+
vector-vrl-functions.workspace = true
4850

4951
[dev-dependencies]
5052
futures.workspace = true

lib/codecs/src/decoding/format/vrl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl VrlDeserializerConfig {
5959

6060
match compile_vrl(
6161
&self.vrl.source,
62-
&vrl::stdlib::all(),
62+
&vector_vrl_functions::all(),
6363
&state,
6464
CompileConfig::default(),
6565
) {

0 commit comments

Comments
 (0)