#graph #grpc #env-var #webgraph #software-heritage

bin+lib swh-graph-grpc-server

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

3 stable releases

6.2.0 Oct 29, 2024
6.1.0 Oct 15, 2024
6.0.0 Sep 10, 2024

#337 in Compression

24 downloads per month

GPL-3.0-or-later

640KB
13K SLoC

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.

Dependencies

~43–80MB
~1.5M SLoC