Skip to content

Commit

Permalink
Update OTel Prometheus Exporter
Browse files Browse the repository at this point in the history
In production I ran into some issues where Prometheus refused reading
the buffer with `expected label value, got "INVALID"`. Update to latest
alpha to fix this issue

See open-telemetry/opentelemetry-dotnet#5623
  • Loading branch information
miniduikboot committed May 23, 2024
1 parent 8999cc8 commit 05c7eb8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions Boot.Metrics/Boot.Metrics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@

<!-- OpenTelemetry -->
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.8.1" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.8.0-rc.1" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.9.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.8.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.8.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.8.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Process" Version="0.5.0-beta.5" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.8.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.8.1" />

<!-- Code style libraries -->
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.43.0.51858" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.25.1.91650" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all" />
<AdditionalFiles Include="../stylecop.json" />
</ItemGroup>

Expand Down
34 changes: 17 additions & 17 deletions Boot.Metrics/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
},
"OpenTelemetry.Exporter.Prometheus.AspNetCore": {
"type": "Direct",
"requested": "[1.8.0-rc.1, )",
"resolved": "1.8.0-rc.1",
"contentHash": "CPNRGYw8uTemqprcieBtrysTB46IJbnRr5DowSLrFU23mgdqmmkNLttVjzXJsiZzd/IXrwqd5Vq4JiOUnibjAw==",
"requested": "[1.9.0-alpha.1, )",
"resolved": "1.9.0-alpha.1",
"contentHash": "Dy5rM8ICfW3ewi3+nhsdwBDJKJzO7F9nGJp2ouYIks+nK19yenfVL/ijDjzspI0ienpsCN/fwwJtKs2CxmzEsg==",
"dependencies": {
"OpenTelemetry": "1.8.0-rc.1"
"OpenTelemetry": "1.8.1"
}
},
"OpenTelemetry.Extensions.Hosting": {
Expand Down Expand Up @@ -75,26 +75,26 @@
},
"OpenTelemetry.Instrumentation.Runtime": {
"type": "Direct",
"requested": "[1.8.0, )",
"resolved": "1.8.0",
"contentHash": "Ma7TL1leE/8qtD1mg8iiNND9VxmPpb81JCVfuSHKZImtaFHCfwKBtVB9SJ42/hHdy6I0Oi/TBQzWnfZvx0or2A==",
"requested": "[1.8.1, )",
"resolved": "1.8.1",
"contentHash": "eorE+GDtia+UNC5j1g5SqhnR7ghqiqsoCsEqnKYtKqj1jzhk90Di6e4fA8sSJLTQYYVqiZY/pLbnGTycnavBfg==",
"dependencies": {
"OpenTelemetry.Api": "[1.8.0, 2.0.0)"
"OpenTelemetry.Api": "[1.8.1, 2.0.0)"
}
},
"SonarAnalyzer.CSharp": {
"type": "Direct",
"requested": "[8.43.0.51858, )",
"resolved": "8.43.0.51858",
"contentHash": "3izLCHSw0zqjbDfcJjAY3m75Goi5pcOOYss1HQGjgwWmAncddNJifIpT2KnOlE6GxKwf26TkgapxhJlUR8iosQ=="
"requested": "[9.25.1.91650, )",
"resolved": "9.25.1.91650",
"contentHash": "Z1/H8vGk2FZ8m6TK++A1Tn5npEw0L0ZNVAgf0aPI/nkq4mTER+enRZcgrkhdSo1mGbFDFgEh5ym/j3Onk6mROA=="
},
"StyleCop.Analyzers": {
"type": "Direct",
"requested": "[1.2.0-beta.435, )",
"resolved": "1.2.0-beta.435",
"contentHash": "TADk7vdGXtfTnYCV7GyleaaRTQjfoSfZXprQrVMm7cSJtJbFc1QIbWPyLvrgrfGdfHbGmUPvaN4ODKNxg2jgPQ==",
"requested": "[1.2.0-beta.556, )",
"resolved": "1.2.0-beta.556",
"contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==",
"dependencies": {
"StyleCop.Analyzers.Unstable": "1.2.0.435"
"StyleCop.Analyzers.Unstable": "1.2.0.556"
}
},
"Impostor.Hazel.Abstractions": {
Expand Down Expand Up @@ -275,8 +275,8 @@
},
"StyleCop.Analyzers.Unstable": {
"type": "Transitive",
"resolved": "1.2.0.435",
"contentHash": "ouwPWZxbOV3SmCZxIRqHvljkSzkCyi1tDoMzQtDb/bRP8ctASV/iRJr+A2Gdj0QLaLmWnqTWDrH82/iP+X80Lg=="
"resolved": "1.2.0.556",
"contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ=="
},
"System.Diagnostics.DiagnosticSource": {
"type": "Transitive",
Expand Down

0 comments on commit 05c7eb8

Please sign in to comment.