Skip to content

Commit

Permalink
fixing broken symfony build (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc authored Sep 14, 2023
1 parent c8e79a8 commit e317b41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*",
"open-telemetry/api": "^1.0.0beta12",
"open-telemetry/api": "^1",
"open-telemetry/context": "^1",
"open-telemetry/exporter-otlp": "^1",
"open-telemetry/exporter-zipkin": "^1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ interface ConfigMappings
];
public const SPAN_EXPORTERS = [
Configuration::ZIPKIN_EXPORTER => SpanExporters::ZIPKIN,
Configuration::OTLP_HTTP_EXPORTER => SpanExporters::OTLP_HTTP,
Configuration::OTLP_GRPC_EXPORTER => SpanExporters::OTLP_GRPC,
Configuration::OTLP_HTTP_EXPORTER => SpanExporters::OTLP,
Configuration::OTLP_GRPC_EXPORTER => SpanExporters::OTLP,
];
public const SPAN_EXPORTER_FACTORIES = [
Configuration::ZIPKIN_EXPORTER_FACTORY => SpanExporterFactories::ZIPKIN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
interface SpanExporters
{
public const ZIPKIN = Contrib\Zipkin\Exporter::class;
public const OTLP_HTTP = Contrib\OtlpHttp\Exporter::class;
public const OTLP_GRPC = Contrib\OtlpGrpc\Exporter::class;
public const OTLP = Contrib\Otlp\SpanExporter::class;
public const SPAN_EXPORTERS = [
self::ZIPKIN,
self::OTLP_HTTP,
self::OTLP_GRPC,
self::OTLP,
];
public const NAMESPACE = 'OpenTelemetry\SDK\Trace\SpanExporter';
}

0 comments on commit e317b41

Please sign in to comment.