0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 19:09:41 +00:00
libsql/docs/client_version_metrics.md
2023-11-14 10:28:35 -05:00

525 B

Client verison metrics

Currently, sqld supports clients passing their client version via a x-libsql-client-version header. The value of this header should follow this pattern:

  • Hrana/Remote clients should be libsql-remote-<language>-<version>
  • Embedded replica clients should be libsql-rpc-<language>-<version>

<language> should be a reference to the language, for example, rust/go/js/python.

<version> should be a reference to either a semver version or a commit sha (first 6 chars of the sha).