From fd3a610893de20bbe4ac24b5c7887102ad07c358 Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Fri, 14 Mar 2025 09:54:46 +0000 Subject: [PATCH 1/2] docs(dotnet): updated the description for the Purview.Telemetry.SourceGenerator --- ...tnet-purview-telemetry-sourcegenerator.yml | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml b/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml index 66ba9d6ed490..a5580c0f741e 100644 --- a/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml +++ b/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml @@ -6,32 +6,45 @@ tags: - c# - .net - dotnet - - source-generator - - activities - - logging + - aspnet - logs - - events - - metrics - - spans - - attributes - - tags - - baggage - - telemetry + - log + - logger + - logging + - source-generator - high-performance-logging + - otel + - open-telemetry + - telemetry + - traces - tracing + - metric + - metrics + - meter + - meters + - instrumentation + - instruments + - events + - distributed-traces - distributed-tracing - - dependency-injection + - melt - purview - - nuget license: MIT description: - Generates ActivitySource, Activity, ActivityEvent, High-performance logging - (ILogger) and Metrics based on methods on an interface, enabling fast - iteration cycles and substitutes for testing through dependency injection. + "Generates [ActivitySource](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource), + [ILogger](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger), + and [Metrics](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics) based telemetry + from methods you define on an interface.
+
+ This approach allows for:
+ - Faster iteration cycles - simply create the method on your interface and the implementation will be automatically generated
+ - Easy mocking/ substitution for testing - a full sample project, including tests can be found [here](https://github.com/purview-dev/purview-telemetry-sourcegenerator/tree/main/samples/SampleApp)
+ - Built-in dependency injection helper generation" authors: - name: Kieron Lanning url: https://github.com/kieronlanning urls: + website: https://github.com/purview-dev/purview-telemetry-sourcegenerator/wiki repo: https://github.com/purview-dev/purview-telemetry-sourcegenerator/ docs: https://github.com/purview-dev/purview-telemetry-sourcegenerator/blob/main/README.md createdAt: 2024-04-26 From 7d27704630fc7d9b4264e4b8d0f192621df8836b Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Fri, 14 Mar 2025 10:24:50 +0000 Subject: [PATCH 2/2] fix: ran npm run fix:all --- ...tnet-purview-telemetry-sourcegenerator.yml | 19 ++++++++++-------- static/refcache.json | 20 +++++++++++++++++++ 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml b/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml index a5580c0f741e..48e118f9f566 100644 --- a/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml +++ b/data/registry/tools-dotnet-purview-telemetry-sourcegenerator.yml @@ -31,15 +31,18 @@ tags: - purview license: MIT description: - "Generates [ActivitySource](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource), + 'Generates + [ActivitySource](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource), [ILogger](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger), - and [Metrics](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics) based telemetry - from methods you define on an interface.
-
- This approach allows for:
- - Faster iteration cycles - simply create the method on your interface and the implementation will be automatically generated
- - Easy mocking/ substitution for testing - a full sample project, including tests can be found [here](https://github.com/purview-dev/purview-telemetry-sourcegenerator/tree/main/samples/SampleApp)
- - Built-in dependency injection helper generation" + and + [Metrics](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics) + based telemetry from methods you define on an interface.

This + approach allows for:
- Faster iteration cycles - simply create the + method on your interface and the implementation will be automatically + generated
- Easy mocking/ substitution for testing - a full sample + project, including tests can be found + [here](https://github.com/purview-dev/purview-telemetry-sourcegenerator/tree/main/samples/SampleApp)
- Built-in dependency injection helper generation' authors: - name: Kieron Lanning url: https://github.com/kieronlanning diff --git a/static/refcache.json b/static/refcache.json index af3accafcebe..62ffaa82550f 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -12247,6 +12247,14 @@ "StatusCode": 206, "LastSeen": "2025-01-16T11:40:52.473775-05:00" }, + "https://github.com/purview-dev/purview-telemetry-sourcegenerator/tree/main/samples/SampleApp": { + "StatusCode": 206, + "LastSeen": "2025-03-14T10:04:55.39722679Z" + }, + "https://github.com/purview-dev/purview-telemetry-sourcegenerator/wiki": { + "StatusCode": 206, + "LastSeen": "2025-03-14T10:04:55.71535952Z" + }, "https://github.com/pyohannes": { "StatusCode": 206, "LastSeen": "2025-02-02T10:41:25.960943-05:00" @@ -13895,6 +13903,18 @@ "StatusCode": 206, "LastSeen": "2025-02-01T06:58:04.411013-05:00" }, + "https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger": { + "StatusCode": 206, + "LastSeen": "2025-03-14T10:04:54.552538273Z" + }, + "https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource": { + "StatusCode": 200, + "LastSeen": "2025-03-14T10:04:53.921752353Z" + }, + "https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics": { + "StatusCode": 200, + "LastSeen": "2025-03-14T10:04:54.95919053Z" + }, "https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assembly.getentryassembly": { "StatusCode": 200, "LastSeen": "2025-01-30T14:41:04.756369-05:00"