{"id":32054653,"url":"https://github.com/fcrespel/jka-exporter","last_synced_at":"2026-04-17T13:32:37.554Z","repository":{"id":318970235,"uuid":"1076457167","full_name":"fcrespel/jka-exporter","owner":"fcrespel","description":"Jedi Academy metrics exporter (Prometheus/OTLP)","archived":false,"fork":false,"pushed_at":"2025-10-29T21:14:14.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T22:34:36.076Z","etag":null,"topics":["exporter","jedi-academy","jka","opentelemetry","otlp","prometheus"],"latest_commit_sha":null,"homepage":"","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/fcrespel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-14T22:19:25.000Z","updated_at":"2025-10-29T21:14:18.000Z","dependencies_parsed_at":"2025-10-17T13:45:03.173Z","dependency_job_id":null,"html_url":"https://github.com/fcrespel/jka-exporter","commit_stats":null,"previous_names":["fcrespel/jka-exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fcrespel/jka-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcrespel%2Fjka-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcrespel%2Fjka-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcrespel%2Fjka-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcrespel%2Fjka-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcrespel","download_url":"https://codeload.github.com/fcrespel/jka-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcrespel%2Fjka-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"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":["exporter","jedi-academy","jka","opentelemetry","otlp","prometheus"],"created_at":"2025-10-18T12:44:41.768Z","updated_at":"2026-04-17T13:32:37.547Z","avatar_url":"https://github.com/fcrespel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JKA Exporter\n\nA metrics exporter for Star Wars Jedi Knight: Jedi Academy dedicated servers, supporting Prometheus and OTLP formats.\n\n## Usage\n\nThe following commands can be used to run the exporter as a [Docker](https://docs.docker.com/engine/) container.\n\n```bash\n# Show syntax help\ndocker run --rm ghcr.io/fcrespel/jka-exporter:latest -help\n\n# Start in the background with Prometheus exporter (default)\ndocker run -d --name jka-exporter -p 8870:8870 ghcr.io/fcrespel/jka-exporter:latest -host \u003cJKA server host or IP\u003e -port 29070\n\n# Start in the background with OTLP HTTP exporter\ndocker run -d --name jka-exporter -p 8870:8870 -e OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp-receiver:4318 ghcr.io/fcrespel/jka-exporter:latest -host \u003cJKA server host or IP\u003e -port 29070 -exporter otlphttp\n\n# Start in the background with OTLP gRPC exporter\ndocker run -d --name jka-exporter -p 8870:8870 -e OTEL_EXPORTER_OTLP_ENDPOINT=otlp-receiver:4317 ghcr.io/fcrespel/jka-exporter:latest -host \u003cJKA server host or IP\u003e -port 29070 -exporter otlpgrpc\n\n# Stop container\ndocker stop jka-exporter\n\n# Delete container\ndocker rm jka-exporter\n```\n\n### Options\n\nThe following command line arguments are supported:\n\n```\n-host string\n      Server host name or IP address (default \"localhost\")\n-port int\n      Server port (default 29070)\n-rcon-password string\n      Server Rcon password (can also be set via RCON_PASSWORD environment variable)\n-enable-rpmetrics\n      Enable RPMod rpmetrics Rcon command to gather additional metrics\n-metrics-port int\n      Metrics server port (default 8870)\n-exporter string\n      Metrics exporter type (prometheus, otlphttp, or otlpgrpc) (default \"prometheus\")\n-log-level string\n      Log level (debug, info, warn, error) (default \"info\")\n-log-format string\n      Log format (text or json) (default \"text\")\n```\n\n### Environment variables\n\nThe following standard OpenTelemetry environment variables are supported:\n\n- `OTEL_EXPORTER_OTLP_CERTIFICATE`: certificate file path for TLS verification\n- `OTEL_EXPORTER_OTLP_ENDPOINT`: OTLP endpoint URL (e.g. `http://localhost:4318` for HTTP, `localhost:4317` for gRPC)\n- `OTEL_EXPORTER_OTLP_HEADERS`: headers to include in requests (comma-separated key=value pairs)\n- `OTEL_EXPORTER_OTLP_INSECURE`: use insecure transport for gRPC (default false)\n- `OTEL_EXPORTER_OTLP_TIMEOUT`: timeout for OTLP export requests in milliseconds (default 10000)\n- `OTEL_METRIC_EXPORT_INTERVAL`: metric export interval in milliseconds (default 60000)\n- `OTEL_METRIC_EXPORT_TIMEOUT`: metric export timeout in milliseconds (default 30000)\n- `OTEL_RESOURCE_ATTRIBUTES`: extra resource attributes (comma-separated key=value pairs)\n- `OTEL_SERVICE_NAME`: service name resource attribute (default \"jka-server\")\n\nVariables may reference other environment variables using `${VAR}` syntax, e.g. `OTEL_EXPORTER_OTLP_ENDPOINT=http://${HOST_IP}:4318`.\n\n### Metrics\n\nThe following base metrics are exposed:\n\n- `jka.clients.connected`: current number of clients connected\n- `jka.clients.limit`: maximum number of clients allowed\n- `jka.clients.ping`: player ping in milliseconds (with player name label)\n\nThe following RPMod metrics are exposed when the `-enable-rpmetrics` flag is set:\n\n- `jka.server.cs.limit`: maximum number of Config String characters allowed\n- `jka.server.cs.usage`: current number of Config String characters used\n- `jka.server.entities.limit`: maximum number of entities allowed\n- `jka.server.entities.usage`: current number of entities used\n- `jka.server.rpcs.limit`: maximum number of RPCS characters allowed\n- `jka.server.rpcs.usage`: current number of RPCS characters used\n- `jka.server.uptime`: server uptime in milliseconds\n\nWhen using the Prometheus exporter (default), metrics are available at `http://localhost:8870/metrics`. Note that dots (`.`) are replaced with underscores (`_`) in Prometheus metric names.\n\nAdditionally, a `http://localhost:8870/health` endpoint is available for health checking, e.g. by Kubernetes liveness/readiness probes.\n\n## Building from source\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/fcrespel/jka-exporter.git\n   cd jka-exporter\n   ```\n\n2. Build the project:\n   ```bash\n   go build\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcrespel%2Fjka-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcrespel%2Fjka-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcrespel%2Fjka-exporter/lists"}