{"id":36449815,"url":"https://github.com/ydb-platform/jaeger-ydb-store","last_synced_at":"2026-01-14T23:39:20.879Z","repository":{"id":37416975,"uuid":"237954833","full_name":"ydb-platform/jaeger-ydb-store","owner":"ydb-platform","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-19T13:03:22.000Z","size":593,"stargazers_count":33,"open_issues_count":5,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-12T00:30:45.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ydb-platform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2020-02-03T11:59:48.000Z","updated_at":"2025-04-30T08:03:32.000Z","dependencies_parsed_at":"2024-02-15T16:50:25.045Z","dependency_job_id":"0a400635-3b4e-4f1c-a173-aa4719f0cb07","html_url":"https://github.com/ydb-platform/jaeger-ydb-store","commit_stats":null,"previous_names":["yandex-cloud/jaeger-ydb-store"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/ydb-platform/jaeger-ydb-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fjaeger-ydb-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fjaeger-ydb-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fjaeger-ydb-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fjaeger-ydb-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydb-platform","download_url":"https://codeload.github.com/ydb-platform/jaeger-ydb-store/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fjaeger-ydb-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T22:53:36.583Z","updated_at":"2026-01-14T23:39:20.870Z","avatar_url":"https://github.com/ydb-platform.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YDB storage plugin for Jaeger\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/ydb-platform/jaeger-ydb-store)](https://pkg.go.dev/github.com/ydb-platform/jaeger-ydb-store)\n[![GoDoc](https://godoc.org/github.com/ydb-platform/jaeger-ydb-store?status.svg)](https://godoc.org/github.com/ydb-platform/jaeger-ydb-store)\n![tests](https://github.com/ydb-platform/jaeger-ydb-store/workflows/tests/badge.svg?branch=master)\n![lint](https://github.com/ydb-platform/jaeger-ydb-store/workflows/lint/badge.svg?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ydb-platform/jaeger-ydb-store)](https://goreportcard.com/report/github.com/ydb-platform/jaeger-ydb-store)\n[![codecov](https://codecov.io/gh/yandex-cloud/jaeger-ydb-store/branch/master/graph/badge.svg)](https://app.codecov.io/gh/yandex-cloud/jaeger-ydb-store)\n\nThis is a storage backend using [YDB](https://ydb.tech/) for [Jaeger](https://github.com/jaegertracing/jaeger)\n\n## components\n\n- collector/query: these are docker images with jaeger-collector/jaeger-query and plugin built-in into image\n- watcher (see cmd/schema/watcher): this is schema-watcher that creates new tables for spans/indexes and removes old ones\n\n## docker images\n\n- `cr.yandex/yc/jaeger-ydb-collector`\n- `cr.yandex/yc/jaeger-ydb-query`\n- `cr.yandex/yc/jaeger-ydb-watcher`\n\n## how to run\n\n```\ncp docker-compose.example.yml docker-compose.yml\n# edit docker-compose yml to set db dsn\ndocker-compose up -d\n```\n\n## environment variables\n\n| Name                        | Type       | Default | Description                                                                                                                                                                                                                                  |\n|-----------------------------|------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `YDB_ADDRESS`               | `string`   |         | db endpoint host:port to connect to                                                                                                                                                                                                          |\n| `YDB_SECURE_CONNECTION`     | `string`   |         | is secure connection enabled. One of [\"enabled\", \"disabled\"]                                                                                                                                                                                 |\n| `YDB_ANONYMOUS`             | `bool`     | `false` | anonymous auth                                                                                                                                                                                                                               |\n| `YDB_TOKEN`                 | `string`   |         | auth token for internal purposes                                                                                                                                                                                                             |\n| `YDB_SA_META_AUTH`          | `bool`     | `false` | use metadata to authorize requests ([documentation](https://cloud.yandex.com/docs/compute/operations/vm-connect/auth-inside-vm#auth-inside-vm))                                                                                              |\n| `YDB_SA_ID`                 | `string`   |         | deprecated - use `YDB_SA_KEY_JSON` variable. service account id for Yandex.Cloud authorization (doc on service accounts: https://cloud.yandex.com/docs/iam/concepts/users/service-accounts)                                                  |\n| `YDB_SA_KEY_ID`             | `string`   |         | deprecated - use `YDB_SA_KEY_JSON` variable. service account key id for Yandex.Cloud authorization                                                                                                                                           |\n| `YDB_SA_PRIVATE_KEY_FILE`   | `string`   |         | deprecated - use `YDB_SA_KEY_JSON` variable. to service account private key for Yandex.Cloud authorization                                                                                                                                   |\n| `YDB_SA_KEY_JSON`           | `string`   |         | service account key for Yandex.Cloud authorization (doc on service accounts: https://cloud.yandex.com/docs/iam/concepts/users/service-accounts) in `JSON`. This variable replaces `YDB_SA_ID`, `YDB_SA_KEY_ID` and `YDB_SA_PRIVATE_KEY_FILE` |\n| `YDB_PATH`                  | `string`   |         | database path                                                                                                                                                                                                                                |\n| `YDB_FOLDER`                | `string`   |         | folder to store data in)                                                                                                                                                                                                                     |\n| `YDB_CONNECT_TIMEOUT`       | `duration` | `10s`   | db connect timeout                                                                                                                                                                                                                           |\n| `YDB_WRITE_TIMEOUT`         | `duration` |         | write queries timeout                                                                                                                                                                                                                        |\n| `YDB_RETRY_ATTEMPT_TIMEOUT` | `duration` |         | attempt to write queries timeout                                                                                                                                                                                                             |\n| `YDB_READ_TIMEOUT`          | `duration` | `10s`   | read queries timeout                                                                                                                                                                                                                         |\n| `YDB_READ_QUERY_PARALLEL`   | `integer`  | `16`    | controls number of parallel read subqueries                                                                                                                                                                                                  |\n| `YDB_READ_OP_LIMIT`         | `integer`  | `5000`  | max operation names to fetch for service                                                                                                                                                                                                     |\n| `YDB_READ_SVC_LIMIT`        | `integer`  | `1000`  | max service names to fetch                                                                                                                                                                                                                   |\n| `YDB_POOL_SIZE`             | `integer`  | `100`   | db session pool size                                                                                                                                                                                                                         |\n| `YDB_QUERY_CACHE_SIZE`      | `integer`  | `50`    | db query cache size                                                                                                                                                                                                                          |\n| `YDB_WRITER_BUFFER_SIZE`    | `integer`  | `1000`  | span buffer size for batch writer                                                                                                                                                                                                            |\n| `YDB_WRITER_BATCH_SIZE`     | `integer`  | `100`   | number of spans in batch write calls                                                                                                                                                                                                         |\n| `YDB_WRITER_BATCH_WORKERS`  | `integer`  | `10`    | number of workers processing batch writes                                                                                                                                                                                                    |\n| `YDB_INDEXER_BUFFER_SIZE`   | `integer`  | `1000`  | span buffer size for indexer                                                                                                                                                                                                                 |\n| `YDB_INDEXER_MAX_TRACES`    | `integer`  | `100`   | maximum trace_id count in a single index record                                                                                                                                                                                              |\n| `YDB_INDEXER_MAX_TTL`       | `duration` | `5s`    | maximum amount of time for indexer to batch trace_ids for index records                                                                                                                                                                      |\n| `YDB_SCHEMA_NUM_PARTITIONS` | `integer`  | `10`    | number of partitioned tables per day. Changing it requires recreating full data set                                                                                                                                                          |\n\nConfiguration options can be passed via config file. Use `--grpc-storage-plugin.configuration-file` to pass configuration to YDB Plugin. In case of watcher use `--config` for the same purpose.  \n\n## schema watcher configuration\n\n| Name                        | Type       | Default | Description                                             |\n|-----------------------------|------------|---------|---------------------------------------------------------|\n| `WATCHER_AGE`               | `duration` | `24h`   | delete partition tables older than this value           |\n| `WATCHER_INTERVAL`          | `duration` | `5m`    | check interval                                          |\n| `YDB_FEATURE_SPLIT_BY_LOAD` | `bool`     | `false` | enable table split by load feature                      |\n| `YDB_FEATURE_COMPRESSION`   | `bool`     | `false` | enable table compression feature, used for span storage |\n\n## conference talks\n\n- https://youtu.be/nyt_e4ULrUo?t=660\n- https://youtu.be/hXH_tRBxFnA?t=11471\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Fjaeger-ydb-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydb-platform%2Fjaeger-ydb-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Fjaeger-ydb-store/lists"}