Skip to content

Commit

Permalink
fix: mark consts in options as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed May 28, 2023
1 parent 69d7a55 commit d757e65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Prometheus.Client.HealthChecks.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>HealthChecks middleware for the Prometheus.Client</Description>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionPrefix>1.1.1</VersionPrefix>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0</TargetFrameworks>
<PackageId>Prometheus.Client.HealthChecks</PackageId>
<RepositoryUrl>https://github.com/prom-client-net/prom-client-healthchecks</RepositoryUrl>
Expand Down
4 changes: 2 additions & 2 deletions src/PrometheusHealthCheckPublisherOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace Prometheus.Client.HealthChecks;
/// </summary>
public class PrometheusHealthCheckPublisherOptions
{
public const string DefaultStatusMetricName = "healthcheck_status";
public const string DefaultDurationMetricName = "healthcheck_duration_seconds";
internal const string DefaultStatusMetricName = "healthcheck_status";
internal const string DefaultDurationMetricName = "healthcheck_duration_seconds";

/// <summary>
/// Metric name for Status
Expand Down
3 changes: 3 additions & 0 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Prometheus.Client.HealthChecks.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100bd315a84b04ab1fc9fe2c21de76ff484ac7b134a21a9449eca632eadf395333a47a81b0dfa417cc2e8b4bad2bebf64ed70ef4b04ea50e62b176a1ace2824d2264628035aaacc5655572cd203ea5f488ab46e3b73fba5c5b279d692b3e25b0d9c13796ee1e52ed554eabfebc47ef044a5d32fe2d39084559a7faffce9ef39998d")]

0 comments on commit d757e65

Please sign in to comment.