{"id":37434077,"url":"https://github.com/rerorero/appium-otel-plugin","last_synced_at":"2026-01-16T06:38:31.014Z","repository":{"id":58898640,"uuid":"531910754","full_name":"rerorero/appium-otel-plugin","owner":"rerorero","description":"Appium plugin to apply OpenTelemetry to Appium server","archived":false,"fork":false,"pushed_at":"2023-03-06T22:16:04.000Z","size":577,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T09:58:38.935Z","etag":null,"topics":["appium","appium-plugin","opentelemetry"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rerorero.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}},"created_at":"2022-09-02T12:09:48.000Z","updated_at":"2023-07-06T12:06:02.000Z","dependencies_parsed_at":"2023-02-16T11:46:07.838Z","dependency_job_id":null,"html_url":"https://github.com/rerorero/appium-otel-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rerorero/appium-otel-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerorero%2Fappium-otel-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerorero%2Fappium-otel-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerorero%2Fappium-otel-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerorero%2Fappium-otel-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rerorero","download_url":"https://codeload.github.com/rerorero/appium-otel-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerorero%2Fappium-otel-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","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":["appium","appium-plugin","opentelemetry"],"created_at":"2026-01-16T06:38:30.958Z","updated_at":"2026-01-16T06:38:31.007Z","avatar_url":"https://github.com/rerorero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# appium-otel-plugin\n\nAppium plugin to export Appium server metrics and traces using [OpenTelemetry](https://opentelemetry.io/).\n\n## Run\n\n```\n# install plugin\nappium plugin install --source=npm appium-otel-plugin\n\n# run appium with the plugin\nexport OTEL_SERVICE_NAME=appium\nappium server --use-plugins=appium-otel-plugin\n```\n\n## Tracing\n\nThis plugin has 2 modes for exporting traces, which can be switched with the environment variable `APPIUM_OTEL_TRACE_SEMANTIC`.\n\n#### HTTP Semantic Tracing (by default)\n\nThe plugin hooks and exports incoming http requests and outgoing http requests in the Appium server.\nIt can act as distributed tracing if you enabled OpenTelemetry http instruments in your appium client.\n\n#### Command Semantic Tracing\n\nThe plugin hooks an Appium command and sends a command executino as a span.\nIt also starts a parent span at the start of Appium session and links the commands associated with the session as child spans.\n\n## Metrics\n\nThe plugin collects the following metrics:\n\n| Name                       | Type    | Desciption                                                                                                                               |\n| -------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| appium.command.responses   | Counter | Incremented each time one command is completed. Collected with a `status` attribute indicating whether the command is successful or not. |\n| appium.sessions.total      | Gauge   | Number of active sessions.                                                                                                               |\n| appium.sessions.oldest_age | Gauge   | Age (in seconds) of the oldest active session.                                                                                           |\n\n## Configuration\n\nYou can configure the plugin with environment variables.\n\n| Env                                        | Default      | Desciption                                                                                                                                                          |\n| ------------------------------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| APPIUM_OTEL_TRACE_ENABLED                  | true         | Enable tracing if true.                                                                                                                                             |\n| APPIUM_OTEL_METRICS_ENABLED                | true         | Enable metrics if true.                                                                                                                                             |\n| APPIUM_OTEL_TRACE_SEMANTIC                 | http         | Specify the tracing mode. One of the following `http`, `command`.                                                                                                   |\n| APPIUM_OTEL_TRACE_EXPORTER                 | otlp         | One of available trace exporter. The followings are supported: `otlp` `zipkin` `console`                                                                            |\n| APPIUM_OTEL_ATTRIBUTES_IN_CAPS             | platformName | If the keys specified by this exist in the capabilities, they are sent as attributes if the metrics/span is associated with a session. e.g. `platformName,app,udid` |\n| APPIUM_OTEL_METRICS_EXPORTER               | otlp         | One of available trace exporter. The followings are supported: `otlp` `console`                                                                                     |\n| APPIUM_OTEL_METRICS_EXPORT_INTERVAL_MILLIS | 10000        | Some metrics are collected periodically. You can change the collection period with this value.                                                                      |\n| DEBUG                                      | false        | Set loglevel of opentelemetry API to DEBUG.                                                                                                                         |\n| APPIUM_OTEL_AUTO_DETECT_RESOURCES          | true         | Toggle whether to enable auto detect resources.                                                                                                                     |\n| APPIUM_OTEL_ATTRIBUTES                     |              | Attributes to be added to the metrics/spans. e.g. `env=development,region=us-east-1`                                                                                |\n\nIn addition to them, you would be able to use [OpenTelemetry environment variables](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md) like `OTEL_SERVICE_NAME` when `APPIUM_OTEL_AUTO_DETECT_RESOURCES` is true.\n\n## Logs\n\nThis plugin doesn't support exporting logs. If you are a Datadog user and interested in exporting logs, you might be interested in [appium-ddlog-plugin](https://github.com/rerorero/appium-ddlog-plugin).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerorero%2Fappium-otel-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frerorero%2Fappium-otel-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerorero%2Fappium-otel-plugin/lists"}