aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2025-02-05 19:23:49 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2025-02-20 21:22:16 +0000
commit342e18b4841d37e8c98016725d6108b1d72f8563 (patch)
treeb777a5bbda3e2b8a9b2a59508a0608e74ce3b5c2 /Cargo.toml
parenta8f0e58428de51a055bf31db44965266ff7d5640 (diff)
downloadrunit-otel-master.tar
runit-otel-master.tar.gz
runit-otel-master.tar.bz2
runit-otel-master.tar.lz
runit-otel-master.tar.xz
runit-otel-master.tar.zst
runit-otel-master.zip
runit-otel: Add vloggerHEADmaster
/etc/vlogger can be hijacked to send stdout/stderr logs on a void-linux systems to otel. This first implementation does just that.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..c8d7f59
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,17 @@
+[package]
+name = "runit-otel"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+anyhow = "1.0.95"
+clap = { version = "4.5.30", features = ["derive"] }
+log = "0.4.25"
+opentelemetry = { version = "0.27.1", features = ["logs"] }
+opentelemetry-appender-log = { version = "0.27.0", default-features = false }
+opentelemetry-otlp = { version = "0.27.0", features = [ "http-proto", "reqwest-client", "reqwest-rustls", "logs" ] }
+opentelemetry-semantic-conventions = { version = "0.27.0" }
+opentelemetry_sdk = { version = "0.27.1", features = ["logs", "rt-tokio"] }
+tokio = { version = "1.43.0", features = ["rt-multi-thread"] }