Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions src/Configuration/Section/Otel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

declare(strict_types=1);

namespace Spiral\RoadRunner\Console\Configuration\Section;

final class Otel extends AbstractSection
{
private const NAME = 'otel';

public function render(): array
{
return [
self::NAME => [
'insecure' => false,
'compress' => false,
'client' => 'http',
'exporter' => 'otlp',
'custom_url' => '',
'service_name' => 'RoadRunner',
'service_version' => '1.0.0',
'endpoint' => '127.0.0.1:4318'
]
];
}

public static function getShortName(): string
{
return self::NAME;
}
}
2 changes: 1 addition & 1 deletion src/Configuration/Section/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
final class Version extends AbstractSection
{
private const NAME = 'version';
private const CONFIG_VERSION = '2.7';
private const CONFIG_VERSION = '3';

public function render(): array
{
Expand Down