Skip to content

Commit 27d8309

Browse files
committed
feat: enable otlp integration
1 parent 8d4db4e commit 27d8309

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Command/Integration/IntegrationCommandBase.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ private function getFields()
188188
'splunk',
189189
'sumologic',
190190
'syslog',
191+
'otlp',
191192
];
192193

193194
return [
@@ -421,6 +422,7 @@ private function getFields()
421422
'sumologic',
422423
'splunk',
423424
'webhook',
425+
'otlp',
424426
]],
425427
'description' => 'The URL or API endpoint for the integration',
426428
]),
@@ -606,7 +608,10 @@ private function getFields()
606608
]),
607609
'headers' => new ArrayField('HTTP header', [
608610
'optionName' => 'header',
609-
'conditions' => ['type' => 'httplog'],
611+
'conditions' => ['type' => [
612+
'httplog',
613+
'otlp',
614+
]],
610615
'description' => 'HTTP header(s) to use in POST requests. Separate names and values with a colon (:).',
611616
'required' => false,
612617
// Override the default split pattern (which splits a comma-separated

0 commit comments

Comments
 (0)