Skip to content

feat: migrated to updated transport interface - #25

Merged
Andrii Havryliuk (h1k3r) merged 7 commits into
mainfrom
feat-updated-transport-interface
Sep 28, 2026
Merged

Andrii Havryliuk (h1k3r) merged 7 commits into
mainfrom
feat-updated-transport-interface

Conversation

@h1k3r

@h1k3r Andrii Havryliuk (h1k3r) commented May 15, 2026 •

Copy link
Copy Markdown
Contributor
  • Migrated to the updated MetricTransportInterface (flush(), Shopware core 6.7.12+)
  • Metric names use shopware.telemetry.metrics.namespace from core; the bundle's own metrics.namespace option is deprecated and ignored
  • Updated development docker configuration to be compatible with latest images versions

Closes shopware/shopware#16533

Release notes for 0.2.0

Metrics transport for Shopware telemetry v2

  • Implements MetricTransportInterface::flush(). On Shopware 6.7.12+ metrics are exported after each request and console command and every 60 s in Messenger workers.
  • Metric names are prefixed with shopware.telemetry.metrics.namespace from core, so all transports use the same names. Below 6.7.12 the default prefix io.opentelemetry.contrib.php.shopware is used.
  • open_telemetry_shopware.metrics.namespace is deprecated and ignored. Will be removed in 1.0.
  • OpenTelemetryMetricTransport::forceFlush() is deprecated, use flush().
  • Requires shopware/core ^6.6. Metrics need 6.6.7+.

Upgrading from 0.2.0-alpha

  • Upgrade this package before Shopware core 6.7.12. The alpha transport lacks flush() and fails with a fatal error on 6.7.12+ when metrics are enabled.
  • Move a custom namespace to shopware.telemetry.metrics.namespace (6.7.12+). Below 6.7.12 a custom prefix is no longer possible.
  • The instrumentation scope name is now always io.opentelemetry.contrib.php.shopware.

@h1k3r
Andrii Havryliuk (h1k3r) force-pushed the feat-updated-transport-interface branch from e6ac166 to 03077fe Compare May 17, 2026 11:25
@h1k3r
Andrii Havryliuk (h1k3r) force-pushed the feat-updated-transport-interface branch from 03077fe to 887e84b Compare May 17, 2026 11:26
@h1k3r
Andrii Havryliuk (h1k3r) marked this pull request as ready for review June 18, 2026 09:52
@h1k3r
Andrii Havryliuk (h1k3r) marked this pull request as draft August 13, 2026 13:44
@h1k3r
Andrii Havryliuk (h1k3r) merged commit 44a6813 into main Sep 28, 2026
4 checks passed
@h1k3r
Andrii Havryliuk (h1k3r) deleted the feat-updated-transport-interface branch September 28, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update OpenTelemetry transport to support updated telemetry abstraction

3 participants