2023-02-02 11:33:11 +08:00
|
|
|
[package]
|
2023-05-31 11:29:10 +08:00
|
|
|
description = "OpenObserve is an observability platform that allows you to capture, search, and analyze your logs, metrics, and traces."
|
2023-02-02 11:33:11 +08:00
|
|
|
edition = "2021"
|
2023-06-02 20:05:12 +08:00
|
|
|
homepage = "https://openobserve.ai/"
|
2023-03-13 16:14:57 +08:00
|
|
|
keywords = [
|
|
|
|
"search",
|
|
|
|
"log",
|
|
|
|
"metrics",
|
|
|
|
"traces",
|
|
|
|
"analytics",
|
2023-11-10 22:56:11 +08:00
|
|
|
"openobserve",
|
2023-03-13 16:14:57 +08:00
|
|
|
"observability",
|
|
|
|
"open source",
|
|
|
|
"open-source",
|
|
|
|
"opensource",
|
|
|
|
]
|
2024-02-01 11:54:01 +08:00
|
|
|
license = "AGPL-3.0-only"
|
2023-05-31 11:29:10 +08:00
|
|
|
name = "openobserve"
|
2023-06-02 18:59:11 +08:00
|
|
|
repository = "https://github.com/openobserve/openobserve/"
|
2024-02-09 14:40:00 +08:00
|
|
|
version = "0.8.1"
|
2023-04-06 15:38:24 +08:00
|
|
|
publish = false
|
2023-02-02 11:33:11 +08:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[features]
|
2023-02-06 22:07:01 +08:00
|
|
|
mimalloc = ["dep:mimalloc"]
|
2023-05-26 11:19:14 +08:00
|
|
|
jemalloc = ["dep:tikv-jemallocator"]
|
2023-06-13 12:33:25 +08:00
|
|
|
profiling = ["dep:pyroscope", "dep:pyroscope_pprofrs"]
|
2023-02-02 11:33:11 +08:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = false
|
|
|
|
strip = true
|
2023-08-04 13:58:33 +08:00
|
|
|
|
|
|
|
[profile.release-prod]
|
|
|
|
inherits = "release"
|
2023-05-25 13:37:56 +08:00
|
|
|
codegen-units = 1
|
2023-06-17 00:07:23 +08:00
|
|
|
lto = "thin"
|
2023-05-25 13:37:56 +08:00
|
|
|
|
2023-06-13 12:33:25 +08:00
|
|
|
[profile.release-profiling]
|
|
|
|
inherits = "release"
|
2023-06-17 00:07:23 +08:00
|
|
|
debug = true
|
|
|
|
strip = false
|
2023-06-13 12:33:25 +08:00
|
|
|
codegen-units = 4
|
|
|
|
|
2023-02-02 11:33:11 +08:00
|
|
|
[dependencies]
|
2023-04-13 17:59:49 +08:00
|
|
|
actix-cors = "0.6"
|
2023-10-18 21:09:24 +08:00
|
|
|
actix-multipart = { version = "0.6", features = ["derive"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
actix-web.workspace = true
|
2023-02-02 11:33:11 +08:00
|
|
|
actix-web-httpauth = "0.8"
|
2023-11-17 12:21:33 +08:00
|
|
|
actix-web-lab = "0.20"
|
|
|
|
actix-web-opentelemetry = { version = "0.16", features = ["metrics"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
actix-web-prometheus.workspace = true
|
2023-04-13 17:59:49 +08:00
|
|
|
actix-web-rust-embed-responder = { version = "2.2", default-features = false, features = [
|
2023-03-13 16:14:57 +08:00
|
|
|
"support-rust-embed-for-web",
|
|
|
|
"base64",
|
|
|
|
] }
|
2024-02-01 11:54:01 +08:00
|
|
|
ahash.workspace = true
|
|
|
|
anyhow.workspace = true
|
|
|
|
argon2.workspace = true
|
|
|
|
async-trait.workspace = true
|
|
|
|
async-recursion.workspace = true
|
2023-11-17 12:21:33 +08:00
|
|
|
awc = "3.2"
|
2023-08-02 18:47:09 +08:00
|
|
|
blake3 = { version = "1.4", features = ["rayon"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
bytes.workspace = true
|
|
|
|
chrono.workspace = true
|
2023-04-13 17:59:49 +08:00
|
|
|
clap = { version = "4.1", default-features = false, features = [
|
2023-03-13 16:14:57 +08:00
|
|
|
"std",
|
|
|
|
"help",
|
|
|
|
"usage",
|
|
|
|
"suggestions",
|
|
|
|
"cargo",
|
|
|
|
] }
|
2023-06-17 00:07:23 +08:00
|
|
|
cloudevents-sdk = { version = "0.7.0", features = ["actix"] }
|
2023-05-20 16:54:46 +08:00
|
|
|
csv = "1.2.1"
|
2024-02-01 11:54:01 +08:00
|
|
|
dashmap.workspace = true
|
|
|
|
datafusion.workspace = true
|
|
|
|
datafusion-expr.workspace = true
|
|
|
|
arrow.workspace = true
|
|
|
|
arrow-schema.workspace = true
|
|
|
|
parquet.workspace = true
|
|
|
|
object_store.workspace = true
|
|
|
|
env_logger.workspace = true
|
|
|
|
etcd-client.workspace = true
|
|
|
|
faststr.workspace = true
|
|
|
|
flate2.workspace = true
|
|
|
|
futures.workspace = true
|
|
|
|
hex.workspace = true
|
|
|
|
hashbrown.workspace = true
|
2023-04-13 17:59:49 +08:00
|
|
|
http-auth-basic = "0.3"
|
2024-02-01 11:54:01 +08:00
|
|
|
ipnetwork.workspace = true
|
|
|
|
itertools.workspace = true
|
2023-12-22 11:35:46 +08:00
|
|
|
jsonwebtoken = "9.2.0"
|
2024-02-01 11:54:01 +08:00
|
|
|
log.workspace = true
|
2023-10-18 21:09:24 +08:00
|
|
|
maxminddb = "0.23.0"
|
2023-12-28 07:40:22 +08:00
|
|
|
memory-stats = "1.1.0"
|
2023-03-13 16:14:57 +08:00
|
|
|
mimalloc = { version = "0.1", default-features = false, optional = true }
|
2024-02-01 11:54:01 +08:00
|
|
|
once_cell.workspace = true
|
2023-03-13 16:14:57 +08:00
|
|
|
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = { version = "0.11", features = [
|
|
|
|
"http-proto",
|
|
|
|
"serialize",
|
|
|
|
"reqwest-client",
|
|
|
|
] }
|
2023-09-11 17:55:31 +08:00
|
|
|
opentelemetry-proto = { version = "0.2", features = [
|
2023-03-13 16:14:57 +08:00
|
|
|
"gen-tonic",
|
|
|
|
"traces",
|
2023-08-23 16:30:17 +08:00
|
|
|
"logs",
|
|
|
|
"metrics",
|
2023-03-13 16:14:57 +08:00
|
|
|
"with-serde",
|
|
|
|
] }
|
2024-02-01 11:54:01 +08:00
|
|
|
parking_lot.workspace = true
|
|
|
|
prometheus.workspace = true
|
|
|
|
promql-parser = "0.3"
|
2023-04-13 17:59:49 +08:00
|
|
|
prost = "0.11"
|
2023-06-21 18:20:33 +08:00
|
|
|
pyroscope = { version = "0.5.6", optional = true }
|
|
|
|
pyroscope_pprofrs = { version = "0.2.5", optional = true }
|
2024-02-01 11:54:01 +08:00
|
|
|
rand.workspace = true
|
|
|
|
getrandom.workspace = true
|
|
|
|
rayon.workspace = true
|
2023-04-13 17:59:49 +08:00
|
|
|
regex = "1.7"
|
2023-11-17 12:21:33 +08:00
|
|
|
regex-syntax = "0.8"
|
2024-02-01 11:54:01 +08:00
|
|
|
reqwest.workspace = true
|
2023-04-13 17:59:49 +08:00
|
|
|
rust-embed-for-web = "11.1"
|
2024-02-01 11:54:01 +08:00
|
|
|
segment.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
|
|
|
sha256.workspace = true
|
|
|
|
snafu.workspace = true
|
|
|
|
snap.workspace = true
|
|
|
|
sqlparser.workspace = true
|
2023-11-17 12:21:33 +08:00
|
|
|
strum = { version = "0.25", features = ["derive"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
sysinfo.workspace = true
|
2023-05-11 08:48:24 +08:00
|
|
|
syslog_loose = "0.18.0"
|
2024-02-01 11:54:01 +08:00
|
|
|
thiserror.workspace = true
|
|
|
|
time.workspace = true
|
2023-05-26 11:19:14 +08:00
|
|
|
tikv-jemallocator = { version = "0.5", optional = true }
|
2024-02-01 11:54:01 +08:00
|
|
|
tokio.workspace = true
|
|
|
|
tokio-stream.workspace = true
|
|
|
|
tonic.workspace = true
|
|
|
|
tracing.workspace = true
|
|
|
|
tracing-appender.workspace = true
|
|
|
|
tracing-opentelemetry.workspace = true
|
|
|
|
tracing-subscriber.workspace = true
|
2023-10-18 21:09:24 +08:00
|
|
|
uaparser = "0.6.1"
|
2024-02-01 11:54:01 +08:00
|
|
|
url.workspace = true
|
|
|
|
utoipa.workspace = true
|
|
|
|
utoipa-swagger-ui.workspace = true
|
2023-11-28 23:48:39 +08:00
|
|
|
vector-enrichment = { package = "enrichment", git = "https://github.com/openobserve/vector", rev = "66667dd291482a440c5eb2032ef3cbfb7377b53b" }
|
2023-12-18 10:49:08 +08:00
|
|
|
vrl = { version = "0.8.1", features = ["value", "compiler", "test"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
zstd.workspace = true
|
|
|
|
config.workspace = true
|
|
|
|
infra.workspace = true
|
|
|
|
ingester.workspace = true
|
2023-12-22 11:35:46 +08:00
|
|
|
|
2023-02-02 11:33:11 +08:00
|
|
|
[build-dependencies]
|
2023-04-04 23:41:17 +08:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
2023-03-13 16:14:57 +08:00
|
|
|
tonic-build = { version = "0.8", features = ["prost"] }
|
2023-11-17 12:21:33 +08:00
|
|
|
prost-build = "0.11"
|
2023-03-29 20:56:30 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-31 19:33:34 +08:00
|
|
|
expect-test = "1.4"
|
2024-02-09 09:26:18 +08:00
|
|
|
base64 = "0.21"
|
2023-05-18 11:31:35 +08:00
|
|
|
float-cmp = "0.9"
|
2024-02-09 09:26:18 +08:00
|
|
|
walkdir = "2"
|
2023-12-28 07:40:22 +08:00
|
|
|
|
|
|
|
[workspace]
|
2024-02-01 11:54:01 +08:00
|
|
|
members = ["src/config", "src/infra", "src/ingester", "src/wal"]
|
2023-12-28 07:40:22 +08:00
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
config = { path = "src/config" }
|
2024-02-01 11:54:01 +08:00
|
|
|
infra = { path = "src/infra" }
|
2023-12-28 07:40:22 +08:00
|
|
|
ingester = { path = "src/ingester" }
|
|
|
|
wal = { path = "src/wal" }
|
|
|
|
|
|
|
|
ahash = { version = "0.8", features = ["serde"] }
|
|
|
|
actix-web = "4.4"
|
|
|
|
actix-web-prometheus = { version = "0.1", features = ["process"] }
|
|
|
|
anyhow = "1.0"
|
|
|
|
argon2 = { version = "0.5", features = ["alloc", "password-hash"] }
|
|
|
|
async-trait = "0.1"
|
2024-02-01 11:54:01 +08:00
|
|
|
async-recursion = "1.0"
|
2023-12-28 07:40:22 +08:00
|
|
|
aws-config = "0.56.1"
|
|
|
|
aws-sdk-dynamodb = "0.30.0"
|
|
|
|
base64 = "0.21"
|
|
|
|
bytes = "1.4"
|
|
|
|
byteorder = "1.4.3"
|
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
2024-02-09 14:40:00 +08:00
|
|
|
cityhasher = { version = "0.1", default-features = false }
|
2024-02-03 00:14:08 +08:00
|
|
|
dashmap = { version = "5.5", features = ["serde"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
datafusion = "35"
|
|
|
|
datafusion-expr = "35"
|
2024-01-26 20:22:46 +08:00
|
|
|
arrow = { version = "50.0.0", features = ["ipc_compression"] }
|
|
|
|
arrow-json = "50.0.0"
|
|
|
|
arrow-schema = { version = "50.0.0", features = ["serde"] }
|
|
|
|
parquet = { version = "50.0.0", features = ["arrow", "async", "object_store"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
object_store = { version = "0.9", features = ["aws", "azure", "gcp"] }
|
2024-02-09 09:26:18 +08:00
|
|
|
dotenv_config = "0.1"
|
2023-12-28 07:40:22 +08:00
|
|
|
dotenvy = "0.15"
|
2024-02-01 11:54:01 +08:00
|
|
|
env_logger = "0.10"
|
|
|
|
etcd-client = { version = "0.12", features = ["tls"] }
|
2023-12-28 07:40:22 +08:00
|
|
|
faststr = "0.2"
|
|
|
|
flate2 = { version = "1.0", features = ["zlib"] }
|
|
|
|
futures = "0.3"
|
2024-02-01 11:54:01 +08:00
|
|
|
get_if_addrs = "0.5"
|
2023-12-28 07:40:22 +08:00
|
|
|
getrandom = "0.2.11"
|
2024-02-09 14:40:00 +08:00
|
|
|
gxhash = "~3.0.0"
|
2023-12-28 07:40:22 +08:00
|
|
|
hashlink = "0.8.4"
|
|
|
|
hashbrown = { version = "0.14.3", features = ["serde"] }
|
|
|
|
hex = "0.4"
|
|
|
|
indexmap = { version = "2.0", features = ["serde"] }
|
|
|
|
ipnetwork = "0.20"
|
|
|
|
itertools = "0.12"
|
|
|
|
log = "0.4"
|
2024-02-01 11:54:01 +08:00
|
|
|
memchr = "2.5"
|
2024-02-09 14:40:00 +08:00
|
|
|
murmur3 = "0.5"
|
2023-12-28 07:40:22 +08:00
|
|
|
once_cell = "1.17"
|
|
|
|
parking_lot = "0.12"
|
|
|
|
prometheus = "0.13"
|
|
|
|
rand = "0.8"
|
2024-02-01 11:54:01 +08:00
|
|
|
rayon = "1.7.0"
|
2023-12-28 07:40:22 +08:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = [
|
|
|
|
"rustls-tls",
|
|
|
|
"stream",
|
|
|
|
] }
|
|
|
|
segment = "0.2"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
sha256 = "1.4.0"
|
2024-02-01 11:54:01 +08:00
|
|
|
sled = "0.34"
|
2023-12-28 07:40:22 +08:00
|
|
|
snafu = "0.7.5"
|
|
|
|
snap = "1"
|
2024-02-01 11:54:01 +08:00
|
|
|
sqlx = { version = "0.7", features = [
|
|
|
|
"runtime-tokio-rustls",
|
|
|
|
"postgres",
|
|
|
|
"mysql",
|
|
|
|
"sqlite",
|
|
|
|
"chrono",
|
|
|
|
] }
|
|
|
|
sqlparser = { version = "0.41", features = ["serde", "visitor"] }
|
2024-01-20 19:34:58 +08:00
|
|
|
svix-ksuid = { version = "0.8", features = ["serde"] }
|
2023-12-28 07:40:22 +08:00
|
|
|
sysinfo = "0.29"
|
|
|
|
tempfile = "3"
|
|
|
|
thiserror = "1.0"
|
2024-02-01 11:54:01 +08:00
|
|
|
time = "0.3"
|
2023-12-28 07:40:22 +08:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
tokio-stream = "0.1"
|
2024-02-01 11:54:01 +08:00
|
|
|
tonic = { version = "0.8", features = ["prost", "gzip"] }
|
2023-12-28 07:40:22 +08:00
|
|
|
tracing = { version = "0.1.40", features = ["attributes"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
tracing-appender = "0.2.3"
|
2023-12-28 07:40:22 +08:00
|
|
|
tracing-log = "0.2"
|
2024-02-01 11:54:01 +08:00
|
|
|
tracing-opentelemetry = "0.18"
|
2023-12-28 07:40:22 +08:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
|
|
|
|
url = "2.2"
|
|
|
|
utoipa = { version = "4", features = ["actix_extras", "openapi_extensions"] }
|
2024-02-01 11:54:01 +08:00
|
|
|
utoipa-swagger-ui = { version = "4", features = ["actix-web"] }
|
2023-12-28 07:40:22 +08:00
|
|
|
walkdir = "2"
|
2024-02-01 11:54:01 +08:00
|
|
|
zstd = "0.13"
|