Downgrade prometheus exporter again

This commit is contained in:
Łukasz Domeradzki 2024-05-28 19:10:34 +02:00
parent 1917c9da95
commit 8c38de1b26
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA
2 changed files with 11 additions and 2 deletions

View file

@ -12,5 +12,14 @@
],
"git-submodules": {
"enabled": true
}
},
"packageRules": [
{
// TODO: <= 1.7.0-rc.1 for invalid response on monitoring endpoint, last failed version 1.8.0-rc.1 - https://github.com/open-telemetry/opentelemetry-dotnet/issues/5506
// TODO: 1.9.0-alpha.1 generates empty responses, pending research why by @Abrynos
"allowedVersions": "<= 1.7.0-rc.1",
"matchManagers": [ "nuget" ],
"matchPackageNames": [ "OpenTelemetry.Exporter.Prometheus.AspNetCore" ]
}
]
}

View file

@ -10,7 +10,7 @@
<PackageVersion Include="MSTest" Version="3.4.1" />
<PackageVersion Include="Nito.AsyncEx.Coordination" Version="5.1.2" />
<PackageVersion Include="NLog.Web.AspNetCore" Version="5.3.11" />
<PackageVersion Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.9.0-alpha.1" />
<PackageVersion Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.7.0-rc.1" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.8.1" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.8.1" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.8.1" />