@@ -23,7 +23,7 @@ class InstrumentationConfigurationRegistry implements ComponentProvider
23
23
{
24
24
/**
25
25
* @param array{
26
- * instrumentation: array{
26
+ * " instrumentation/development" : array{
27
27
* php: list<ComponentPlugin<InstrumentationConfiguration>>,
28
28
* general: list<ComponentPlugin<GeneralInstrumentationConfiguration>>
29
29
* }
@@ -33,11 +33,11 @@ public function createPlugin(array $properties, Context $context): Configuration
33
33
{
34
34
$ configurationRegistry = new ConfigurationRegistry ();
35
35
/** @phpstan-ignore-next-line */
36
- foreach ($ properties ['instrumentation ' ]['php ' ] ?? [] as $ configuration ) {
36
+ foreach ($ properties ['instrumentation/development ' ]['php ' ] ?? [] as $ configuration ) {
37
37
$ configurationRegistry ->add ($ configuration ->create ($ context ));
38
38
}
39
39
/** @phpstan-ignore-next-line */
40
- foreach ($ properties ['instrumentation ' ]['general ' ] ?? [] as $ configuration ) {
40
+ foreach ($ properties ['instrumentation/development ' ]['general ' ] ?? [] as $ configuration ) {
41
41
$ configurationRegistry ->add ($ configuration ->create ($ context ));
42
42
}
43
43
@@ -50,7 +50,7 @@ public function getConfig(ComponentProviderRegistry $registry, NodeBuilder $buil
50
50
$ root
51
51
->ignoreExtraKeys ()
52
52
->children ()
53
- ->arrayNode ('instrumentation ' )
53
+ ->arrayNode ('instrumentation/development ' )
54
54
->ignoreExtraKeys ()
55
55
->append ($ registry ->componentMap ('php ' , InstrumentationConfiguration::class))
56
56
->append ($ registry ->componentMap ('general ' , GeneralInstrumentationConfiguration::class))
0 commit comments