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

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

5 stable releases

new 6.7.0 Mar 7, 2025
6.3.1 Dec 19, 2024
6.2.0 Oct 29, 2024
6.1.0 Oct 15, 2024
6.0.0 Sep 10, 2024

#612 in Compression

Download history 8/week @ 2024-11-20 2/week @ 2024-11-27 4/week @ 2024-12-04 8/week @ 2024-12-11 102/week @ 2024-12-18 6/week @ 2025-01-08 19/week @ 2025-02-05 10/week @ 2025-02-19 130/week @ 2025-03-05

141 downloads per month

GPL-3.0-or-later

650KB
14K 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–81MB
~1.5M SLoC