Skip to content

Commit

Permalink
fix: removed resource type labels from fetch resource duration
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Nov 22, 2020
1 parent 274d517 commit a8a7dab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/FhirServerExporter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ public class FhirExporter : BackgroundService
});

private static readonly Histogram FetchResourceCountDuration = Metrics
.CreateHistogram("fhir_fetch_resource_count_duration_seconds", "Histogram of resource count fetching durations.",
new HistogramConfiguration
{
LabelNames = new[] { "type" }
});
.CreateHistogram("fhir_fetch_resource_count_duration_seconds", "Histogram of resource count fetching durations.");

private readonly ILogger<FhirExporter> _logger;
private readonly IConfiguration _config;
Expand Down

0 comments on commit a8a7dab

Please sign in to comment.