-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eead33f
commit fcd922f
Showing
9 changed files
with
167 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Altinn.App.Core/Features/Telemetry/Telemetry.PdfGeneratorClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Diagnostics; | ||
|
||
namespace Altinn.App.Core.Features; | ||
|
||
partial class Telemetry | ||
{ | ||
internal Activity? StartGeneratePdfClientActivity() | ||
{ | ||
var activity = ActivitySource.StartActivity("PdfGeneratorClient.GeneratePdf"); | ||
return activity; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
...e/TelemetryEnrichingMiddlewareTests.Should_Always_Be_A_Root_Trace_Unless_Pdf.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
Activities: [ | ||
{ | ||
ActivityName: GET {org}/{app}/api/v1/applicationmetadata, | ||
Tags: [ | ||
{ | ||
http.request.method: GET | ||
}, | ||
{ | ||
http.response.status_code: 200 | ||
}, | ||
{ | ||
http.route: {org}/{app}/api/v1/applicationmetadata | ||
}, | ||
{ | ||
network.protocol.version: 1.1 | ||
}, | ||
{ | ||
server.address: localhost | ||
}, | ||
{ | ||
TestId: Guid_1 | ||
}, | ||
{ | ||
url.path: /tdd/contributer-restriction/api/v1/applicationmetadata | ||
}, | ||
{ | ||
url.scheme: http | ||
}, | ||
{ | ||
user.authentication.level: 4 | ||
}, | ||
{ | ||
user.authentication.method: Mock | ||
}, | ||
{ | ||
user.id: 10 | ||
}, | ||
{ | ||
user.name: User10 | ||
}, | ||
{ | ||
user.party.id: Scrubbed | ||
} | ||
], | ||
IdFormat: W3C, | ||
Kind: Server | ||
} | ||
], | ||
Metrics: [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters