Seq.App.OTelMetrics
1.0.0
dotnet add package Seq.App.OTelMetrics --version 1.0.0
NuGet\Install-Package Seq.App.OTelMetrics -Version 1.0.0
<PackageReference Include="Seq.App.OTelMetrics" Version="1.0.0" />
paket add Seq.App.OTelMetrics --version 1.0.0
#r "nuget: Seq.App.OTelMetrics, 1.0.0"
// Install Seq.App.OTelMetrics as a Cake Addin #addin nuget:?package=Seq.App.OTelMetrics&version=1.0.0 // Install Seq.App.OTelMetrics as a Cake Tool #tool nuget:?package=Seq.App.OTelMetrics&version=1.0.0
Seq.App.OTelMetrics
Collect metrics from log events and send them to an OpenTelemetry receiver.
Getting started
Install the app under Settings > Apps. The app package id is Seq.App.OTelMetrics
.
Configure Seq to Stream incoming events to the app to automatically collect metrics.
Visit the Seq documentation for detailed information about installing and configuring Seq Apps.
Configuration
Instances of the app support the following properties.
Property | Description |
---|---|
Type of metric | The type of the metric to be produced. Either Counter, UpDownCounter, Gauge, or Histogram. |
Unit | The unit the metric is tracking (e.g. ms, requests) |
Metric name | The name of the metric. If not specified, the title of the app instance will be used. |
Metric description | A description of the metric, which will appear in metric viewers. |
Value property | The property of the log event to use as the value of the metric. |
Included properties | Comma-separated list of properties to include as tags. |
OTLP endpoint | The endpoint of the OpenTelemetry receiver to send metrics to. If not specified, metrics will be sent to the default OpenTelemetry collector endpoint. |
OTLP export protocol | The OTLP transport protocol to use when sending metrics to the OpenTelemetry receiver. Either Grpc or HttpProtobuf. Defaults to gRPC. |
Types of metrics
Counter
Tracks a value that increases over time. By default, the value is incremented by 1 for each log event. If a value property is configured, the value of the property will be added to the counter instead.
UpDownCounter
Tracks a value that may increase or decrease over time, by accumulating the value of the configured value property.
Gauge
Tracks the latest value of the value property, for each combination of tags specified by the included properties setting.
Histogram
Tracks the distribution of measurements. If the value property is not available, the span duration from traces will be used.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- OpenTelemetry (>= 1.9.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.9.0)
- Seq.Apps (>= 2023.4.0)
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.0.0 | 148 | 7/7/2024 |