From b592cfe23091050c9e9cf2358cf0b4a624f20463 Mon Sep 17 00:00:00 2001 From: Tolya Korniltsev Date: Tue, 28 Mar 2023 22:09:28 +0700 Subject: [PATCH] add dotnet exceptions sample type --- pkg/ingester/pyroscope/ingest_adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingester/pyroscope/ingest_adapter.go b/pkg/ingester/pyroscope/ingest_adapter.go index 00a18044a..47af3f101 100644 --- a/pkg/ingester/pyroscope/ingest_adapter.go +++ b/pkg/ingester/pyroscope/ingest_adapter.go @@ -206,7 +206,7 @@ func convertMetadata(pi *storage.PutInput) (metricName, stType, stUnit, app stri stUnit = stUnitCount case "exceptions": metricName = "exceptions" - stType = "exceptions" + stType = stTypeSamples stUnit = stUnitCount default: err = fmt.Errorf("unknown profile type: %s", stType)