Skip to content

Commit

Permalink
Merge pull request #436 from answerbook/sopria/LOG-19370
Browse files Browse the repository at this point in the history
feat(sink): OTLP sink - Log implementation
  • Loading branch information
seeruyy committed Apr 8, 2024
2 parents 9e457ed + df954e0 commit 0f6c03d
Show file tree
Hide file tree
Showing 27 changed files with 2,187 additions and 390 deletions.
138 changes: 132 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@ mlua = { version = "0.9.1", default-features = false, features = ["lua54", "send
# MEZMO: added dependency for s3-sink file consolidation
gethostname = "0.4.3"

# Opentelemetry Dependencies
opentelemetry = { version = "0.22", features = ["trace", "logs", "metrics", "logs_level_enabled"] }
opentelemetry_sdk = { version = "0.22", features = ["trace", "logs", "logs_level_enabled", "metrics"] }
opentelemetry-proto = { version = "0.5", features = ["gen-tonic", "gen-tonic-messages", "hex", "logs", "metrics", "prost", "schemars", "serde", "tonic", "trace", "with-schemars", "with-serde", "zpages"] }
faster-hex = "0.9.0"

[target.'cfg(windows)'.dependencies]
windows-service = "0.6.0"

Expand Down Expand Up @@ -763,6 +769,7 @@ sinks-logs-mezmo = [
"sinks-sumo_logic",
"sinks-vector",
"sinks-postgresql",
"sinks-opentelemetry",
]
sinks-metrics = [
"sinks-appsignal",
Expand Down Expand Up @@ -841,6 +848,7 @@ sinks-vector = ["sinks-utils-udp", "dep:tonic", "protobuf-build"]
sinks-websocket = ["dep:tokio-tungstenite"]
sinks-sumo_logic = []
sinks-webhdfs = ["dep:opendal"]
sinks-opentelemetry = []

# Datadog integration
enterprise = [
Expand Down Expand Up @@ -898,6 +906,7 @@ all-integration-tests = [
"sumo-logic-integration-tests",
"dnstap-integration-tests",
"webhdfs-integration-tests",
"opentelemetry-sink-integration-tests",
]

amqp-integration-tests = ["sources-amqp", "sinks-amqp"]
Expand Down Expand Up @@ -962,6 +971,7 @@ pulsar-integration-tests = ["sinks-pulsar"]
redis-integration-tests = ["sinks-redis", "sources-redis"]
splunk-integration-tests = ["sinks-splunk_hec"]
sumo-logic-integration-tests = ["sinks-sumo_logic"]
opentelemetry-sink-integration-tests = ["sinks-opentelemetry"]
dnstap-integration-tests = ["sources-dnstap", "dep:bollard"]
webhdfs-integration-tests = ["sinks-webhdfs"]
disable-resolv-conf = []
Expand Down
Loading

0 comments on commit 0f6c03d

Please sign in to comment.