@@ -23,7 +23,7 @@ class InstrumentationConfigurationRegistry implements ComponentProvider
2323{
2424 /**
2525 * @param array{
26- * instrumentation: array{
26+ * " instrumentation/development" : array{
2727 * php: list<ComponentPlugin<InstrumentationConfiguration>>,
2828 * general: list<ComponentPlugin<GeneralInstrumentationConfiguration>>
2929 * }
@@ -33,11 +33,11 @@ public function createPlugin(array $properties, Context $context): Configuration
3333 {
3434 $ configurationRegistry = new ConfigurationRegistry ();
3535 /** @phpstan-ignore-next-line */
36- foreach ($ properties ['instrumentation ' ]['php ' ] ?? [] as $ configuration ) {
36+ foreach ($ properties ['instrumentation/development ' ]['php ' ] ?? [] as $ configuration ) {
3737 $ configurationRegistry ->add ($ configuration ->create ($ context ));
3838 }
3939 /** @phpstan-ignore-next-line */
40- foreach ($ properties ['instrumentation ' ]['general ' ] ?? [] as $ configuration ) {
40+ foreach ($ properties ['instrumentation/development ' ]['general ' ] ?? [] as $ configuration ) {
4141 $ configurationRegistry ->add ($ configuration ->create ($ context ));
4242 }
4343
@@ -50,7 +50,7 @@ public function getConfig(ComponentProviderRegistry $registry, NodeBuilder $buil
5050 $ root
5151 ->ignoreExtraKeys ()
5252 ->children ()
53- ->arrayNode ('instrumentation ' )
53+ ->arrayNode ('instrumentation/development ' )
5454 ->ignoreExtraKeys ()
5555 ->append ($ registry ->componentMap ('php ' , InstrumentationConfiguration::class))
5656 ->append ($ registry ->componentMap ('general ' , GeneralInstrumentationConfiguration::class))
0 commit comments