A55.Signoz.AspNetCore 1.2.8

dotnet add package A55.Signoz.AspNetCore --version 1.2.8
NuGet\Install-Package A55.Signoz.AspNetCore -Version 1.2.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="A55.Signoz.AspNetCore" Version="1.2.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add A55.Signoz.AspNetCore --version 1.2.8
#r "nuget: A55.Signoz.AspNetCore, 1.2.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install A55.Signoz.AspNetCore as a Cake Addin
#addin nuget:?package=A55.Signoz.AspNetCore&version=1.2.8

// Install A55.Signoz.AspNetCore as a Cake Tool
#tool nuget:?package=A55.Signoz.AspNetCore&version=1.2.8

A55 Signoz Extensions for .NET

Nuget CI alternate text is missing from this package README image https://editorconfig.org/

This project groups and configure opentelemetry instrumentation for .NET focusing on OTPL exporter for Signoz

💡 More about opentelemetry-dotnet HERE


🌐 ASPNET CORE

Instalation:

From command line:

$ dotnet add PROJECT package A55.Signoz.AspNetCore

How to use it:

Configuration

Add services on WebApplicationBuild in your Program.cs or another startup file:

using A55.Signoz;

var builder = WebApplication.CreateBuilder(args);

builder.UseSignoz();
/* other configurations */

var app = builder.Build();

And add the Signoz key in your appsettings.json and/or appsettings.Environment.json

{
    // other configuration keys
    "Signoz": {
        "Enabled": true,
        // Enable or disables telemetry
        "ServiceName": null,
        // optional: The service name which will show in signoz, if null or not define will use Environment.ApplicationName
        "ServiceNameSuffix": "",
        ///optional: A Suffix for ServiceName
        "OtlpEndpoint": "https://signoz-env.a55.tech:4317",
        // The OTLP signoz endpoint
        "UseConsole": false,
        // Flags if opentelemetry will print the spans on console
        "UseOtlp": true,
        // Flags if opentelemetry send to the OTPL endpoint
        "ExportLogs": true,
        // Flags if opentelemetry will send logs
        "ExportTraces": true,
        // Flags if opentelemetry will send traces
        "ExportMetrics": true
        // Flags if opentelemetry will send metrics
    }
}

App configuration SAMPLE HERE


🌱 Environment Variables

If you enable use of Environment Variables in your web app with .AddEnvironmentVariables(), you can set any configuration value with SIGNOZ__{PROPERTYNAME}

Eg:

SIGNOZ__ServiceName=MyVeryCoolApp
SIGNOZ__UseOtplp=true
SIGNOZ__UseConsole=false

💅 Formating

The formating are defined by EditorConfig on .editorconfig

The CI uses dotnet format to enforces the .editorconfig and installed analyzers.

If you need to format the code, just run:

dotnet tool restore
dotnet format .

📝 Versioning

This project is versioned with Semantic Versioning aka SemVer using GitVersion

Commit messages:

Adding +semver: breaking or +semver: major will cause the major version to be increased, +semver: feature or +semver: minor will bump minor and +semver: patch or +semver: fix will bump the patch.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.8 5,318 12/23/2022
1.2.7 222 12/23/2022