{"id":21424830,"url":"https://github.com/opentelemetry-php/contrib-auto-wordpress","last_synced_at":"2025-09-08T00:16:09.662Z","repository":{"id":114509147,"uuid":"596112455","full_name":"opentelemetry-php/contrib-auto-wordpress","owner":"opentelemetry-php","description":"[READONLY] OpenTelemetry Wordpress auto-instrumentation","archived":false,"fork":false,"pushed_at":"2025-07-30T23:36:51.000Z","size":27,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-31T02:08:14.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentelemetry-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-01T13:48:44.000Z","updated_at":"2025-07-30T23:36:55.000Z","dependencies_parsed_at":"2023-11-14T23:31:14.964Z","dependency_job_id":"2a2974b8-8f8c-4f19-b6a3-8fe92577b499","html_url":"https://github.com/opentelemetry-php/contrib-auto-wordpress","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/opentelemetry-php/contrib-auto-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fcontrib-auto-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fcontrib-auto-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fcontrib-auto-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fcontrib-auto-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentelemetry-php","download_url":"https://codeload.github.com/opentelemetry-php/contrib-auto-wordpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fcontrib-auto-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113746,"owners_count":25224469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-22T21:24:47.504Z","updated_at":"2025-09-08T00:16:09.158Z","avatar_url":"https://github.com/opentelemetry-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/contrib-auto-wordpress/releases)\n[![Issues](https://img.shields.io/badge/issues-pink)](https://github.com/open-telemetry/opentelemetry-php/issues)\n[![Source](https://img.shields.io/badge/source-contrib-green)](https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Wordpress)\n[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php--contrib-blue)](https://github.com/opentelemetry-php/contrib-auto-wordpress)\n[![Latest Version](http://poser.pugx.org/open-telemetry/opentelemetry-auto-wordpress/v/unstable)](https://packagist.org/packages/open-telemetry/opentelemetry-auto-wordpress/)\n[![Stable](http://poser.pugx.org/open-telemetry/opentelemetry-auto-wordpress/v/stable)](https://packagist.org/packages/open-telemetry/opentelemetry-auto-wordpress/)\n\nThis is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.\n\n# OpenTelemetry Wordpress auto-instrumentation\n\nPlease read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to\ninstall and configure the extension and SDK.\n\n## Requirements\n\n* OpenTelemetry extension\n* OpenTelemetry SDK + exporter (required to actually export traces)\n* WordPress installation\n* OpenTelemetry [SDK Autoloading](https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/autoload_sdk.php) configured\n\n## Overview\nOpenTelemetry depends on composer, unlike Wordpress. This extension was developed against\n[johnpbloch/wordpress-core](https://github.com/johnpbloch/wordpress-core-installer),\nbut it should also work with other installation methods.\n\nAn example in Docker of extending the official Wordpress image to enable\nauto-instrumentation: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/examples/instrumentation/Wordpress\n\n### apache\n\nConfigure (eg via `.htaccess`) a PHP prepend file to initialize composer:\n\n```\nphp_value auto_prepend_file /var/www/vendor/autoload.php\n```\n\nThis will install the composer autoloader before running Wordpress. As part of composer autoloading,\nscripts are executed for installed modules, importantly:\n* OpenTelemetry SDK Autoloader\n* this library's `_register.php` file\n\n## Installation via composer\n\n```bash\n$ composer require open-telemetry/opentelemetry-auto-wordpress\n```\n\n## Configuration\n\nThe extension can be disabled via [runtime configuration](https://opentelemetry.io/docs/instrumentation/php/sdk/#configuration):\n\n```shell\nOTEL_PHP_DISABLED_INSTRUMENTATIONS=wordpress\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentelemetry-php%2Fcontrib-auto-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentelemetry-php%2Fcontrib-auto-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentelemetry-php%2Fcontrib-auto-wordpress/lists"}