Skip to content

Commit bcbf69d

Browse files
committed
Add mock LA server example and local test config for Azure Monitor Exporter
Move mock-la-server from standalone crate to a contrib-nodes example to comply with project structure requirements (otap-df- naming, README).
1 parent f177599 commit bcbf69d

3 files changed

Lines changed: 487 additions & 0 deletions

File tree

rust/otap-dataflow/crates/contrib-nodes/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ recordset-kql-processor = [
9191
resource-validator-processor = []
9292

9393
[dev-dependencies]
94+
axum.workspace = true
95+
clap.workspace = true
9496
criterion = { workspace = true, features = ["html_reports"] }
97+
humantime.workspace = true
9598
otap-df-engine = { path = "../engine", features = ["test-utils"] }
9699
otap-df-otap = { path = "../otap", features = ["test-utils"] }
97100
pretty_assertions.workspace = true
@@ -102,3 +105,8 @@ name = "azure_monitor_transformer"
102105
path = "benches/exporters/azure_monitor_exporter/transformer.rs"
103106
harness = false
104107
required-features = ["azure-monitor-exporter"]
108+
109+
[[example]]
110+
name = "mock_la_server"
111+
path = "examples/mock_la_server.rs"
112+
required-features = ["azure-monitor-exporter"]

0 commit comments

Comments
 (0)