Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-graph
32 commits behind the upstream repository.
Name Last commit Last update
..
proto
src
tests
Cargo.toml
README.md
build.rs

swh-graph-grpc-server

gRPC service to run fast queries to the Software Heritage archive graph, using a compressed in-memory representation

Environment variables

RUST_LOG to set the log level, eg. RUST_LOG=debug,h2=info. See the tracing_subscriber::filter::EnvFilter documentation for details.

SWH_SENTRY_DSN and SWH_SENTRY_ENVIRONMENT: Sentry configuration, see Sentry Data Source Name and Sentry Environment documentations for detail.

SWH_SENTRY_DISABLE_LOGGING_EVENTS: If set to true, does not send ERROR log statements as an event to Sentry. Logs are sent as breadcrumbs regardless of this value.

STATSD_HOST and STATSD_PORT: default values if --statsd-host is not given. See StatsD metrics for the list of StatsD metrics exported by this service.