Skip to content

Commit 817ebc8

Browse files
committed
Revert to ‘view.render’
1 parent bf8e336 commit 817ebc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tracing/Twig/TwigTracingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function enter(Profile $profile): void
4848
}
4949

5050
$spanContext = new SpanContext();
51-
$spanContext->setOp('symfony.view');
51+
$spanContext->setOp('view.render');
5252
$spanContext->setDescription($this->getSpanDescription($profile));
5353

5454
$this->spans[$profile] = $transaction->startChild($spanContext);

tests/Tracing/Twig/TwigTracingExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function testEnter(Profile $profile, string $spanDescription): void
5858

5959
$this->assertCount(2, $spans);
6060
$this->assertNull($spans[1]->getEndTimestamp());
61-
$this->assertSame('symfony.view', $spans[1]->getOp());
61+
$this->assertSame('view.render', $spans[1]->getOp());
6262
$this->assertSame($spanDescription, $spans[1]->getDescription());
6363
}
6464

0 commit comments

Comments
 (0)