{"id":24369903,"url":"https://github.com/jterral/extensions-telemetry","last_synced_at":"2026-04-16T13:40:25.917Z","repository":{"id":272946916,"uuid":"917627478","full_name":"jterral/extensions-telemetry","owner":"jterral","description":"Extensions for Telemetry configuration.","archived":false,"fork":false,"pushed_at":"2025-01-26T19:26:12.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T19:36:28.051Z","etag":null,"topics":["nuget","telemetry"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jterral.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-16T10:52:47.000Z","updated_at":"2025-01-26T19:26:13.000Z","dependencies_parsed_at":"2025-01-19T06:48:52.296Z","dependency_job_id":null,"html_url":"https://github.com/jterral/extensions-telemetry","commit_stats":null,"previous_names":["jterral/extensions-telemetry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jterral%2Fextensions-telemetry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jterral%2Fextensions-telemetry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jterral%2Fextensions-telemetry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jterral%2Fextensions-telemetry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jterral","download_url":"https://codeload.github.com/jterral/extensions-telemetry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243203888,"owners_count":20253367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nuget","telemetry"],"created_at":"2025-01-19T04:10:53.319Z","updated_at":"2025-12-26T14:01:39.119Z","avatar_url":"https://github.com/jterral.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extensions Telemetry\n\n## 📝 Overview\n\nThis NuGet package provides telemetry capabilities for your applications by configuring Serilog with defined parameters.\n\n## 📦 Installation\n\nTo install the package, run the following command in the Package Manager Console:\n\n```sh\nInstall-Package Jootl.Extensions.Telemetry\n```\n\n## 🚀 Usage\n\nAfter installing the package, you can start using it by adding the necessary using directive and initializing the telemetry service in your application.\n\n### Configuration\n\nAdd section `Jootl` under `Logging` in `appsettings.json`.\n\n```json\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft.AspNetCore\": \"Warning\"\n    },\n    \"Jootl\": {\n      \"ApplicationName\": \"MyWebApplication\",\n      \"Seq\": {\n        \"ApiUrl\": \"http://192.168.1.1:8080\",\n        \"ApiKey\": \"__MY_API_KEY__\"\n      }\n    }\n  }\n}\n```\n\n### For Web/Api\n\n```csharp\nusing Jootl.Extensions.Telemetry;\n\n// ...\nvar builder = WebApplication.CreateBuilder(args);\n// ...\n\n// Add custom logging to the Host\nbuilder.Host.AddCustomLogging();\n\n// ...\nvar app = builder.Build();\n// ...\n\n// Use custom logging capabilities\napp.UseCustomLogging();\n```\n\n### For Worker\n\n```csharp\nusing Jootl.Extensions.Telemetry;\n\n// ...\nvar builder = Host.CreateApplicationBuilder(args);\n// ...\n\n// Add custom logging to the services\nbuilder.Services.AddCustomLogging(builder.Configuration);\n```\n\n\n## ✨ Features\n\n- Configure Serilog as primary logging provider\n- If Seq is enabled, send logs to the server\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjterral%2Fextensions-telemetry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjterral%2Fextensions-telemetry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjterral%2Fextensions-telemetry/lists"}