Skip to content

Commit

Permalink
Revert to ‘view.render’
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Sep 23, 2022
1 parent bf8e336 commit 817ebc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Tracing/Twig/TwigTracingExtension.php
Expand Up @@ -48,7 +48,7 @@ public function enter(Profile $profile): void
}

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

$this->spans[$profile] = $transaction->startChild($spanContext);
Expand Down
2 changes: 1 addition & 1 deletion tests/Tracing/Twig/TwigTracingExtensionTest.php
Expand Up @@ -58,7 +58,7 @@ public function testEnter(Profile $profile, string $spanDescription): void

$this->assertCount(2, $spans);
$this->assertNull($spans[1]->getEndTimestamp());
$this->assertSame('symfony.view', $spans[1]->getOp());
$this->assertSame('view.render', $spans[1]->getOp());
$this->assertSame($spanDescription, $spans[1]->getDescription());
}

Expand Down

0 comments on commit 817ebc8

Please sign in to comment.