Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcoltheart committed Dec 7, 2023
1 parent b5c80db commit f0b263d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public static bool CanWriteMetric(Metric metric)
return true;
}


public static int WriteMetric(byte[] buffer, int cursor, Metric metric, PrometheusMetric prometheusMetric, bool openMetricsRequested = false)
{
cursor = WriteTypeMetadata(buffer, cursor, prometheusMetric);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#if !NETFRAMEWORK
using System.Diagnostics.Metrics;
using System.Net;
using System.Net.Http.Headers;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public async Task EnterExitCollectTest(int scrapeResponseCacheDurationMillisecon
collectTasks[i] = Task.Run(async () =>
{
var response = await exporter.CollectionManager.EnterCollect(openMetricsRequested);

try
{
return new Response
Expand Down Expand Up @@ -133,7 +132,6 @@ public async Task EnterExitCollectTest(int scrapeResponseCacheDurationMillisecon
collectTasks[i] = Task.Run(async () =>
{
var response = await exporter.CollectionManager.EnterCollect(openMetricsRequested);

try
{
return new Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

using System.Diagnostics.Metrics;
using System.Net;
using System.Net.Http.Headers;
#if NETFRAMEWORK
using System.Net.Http;
#endif
Expand Down

0 comments on commit f0b263d

Please sign in to comment.