#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

#325 in Compression

Download history 133/week @ 2024-09-09 30/week @ 2024-09-16 20/week @ 2024-09-23 25/week @ 2024-09-30 3/week @ 2024-10-07 167/week @ 2024-10-14 10/week @ 2024-10-21 131/week @ 2024-10-28 8/week @ 2024-11-04

316 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