| 1 | package Punk::OpenTelemetry::Exporter; | ||
| 2 | |||
| 3 | 2 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use Punk::OpenTelemetry (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use Punk::OpenTelemetry::Encode (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | ▶ | use Fetch (); # the default user agent, constructed from C by name |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | our $VERSION = '0.10'; | |
| 11 | |||
| 12 | # All of it is C (include/otel_export.h + xs/exporter.xs). The `use` lines | ||
| 13 | # above are load-bearing: the XS reaches Fetch and the encoders BY NAME. | ||
| 14 | |||
| 15 | 2 | 1; | |
| 16 | |||
| 17 | __END__ | ||