Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Nethermind/Nethermind.Merge.Plugin/Metrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: LGPL-3.0-only

using System.ComponentModel;
using System.Runtime.Serialization;
using Nethermind.Core.Attributes;

namespace Nethermind.Merge.Plugin
Expand All @@ -26,18 +27,22 @@ public static class Metrics

[GaugeMetric]
[Description("Number of Blobs requested by engine_getBlobsV1")]
[DataMember(Name = "execution_engine_getblobs_requested_total")]
public static int NumberOfRequestedBlobs { get; set; }

[GaugeMetric]
[Description("Number of Blobs sent by engine_getBlobsV1")]
[DataMember(Name = "execution_engine_getblobs_available_total")]
public static int NumberOfSentBlobs { get; set; }

[GaugeMetric]
[Description("Number of responses to engine_getBlobsV1 and engine_getBlobsV2 with all requested blobs")]
[DataMember(Name = "execution_engine_getblobs_hit_total")]
public static int GetBlobsRequestsSuccessTotal { get; set; }

[GaugeMetric]
[Description("Number of responses to engine_getBlobsVX without all requested blobs")]
[DataMember(Name = "execution_engine_getblobs_miss_total")]
public static int GetBlobsRequestsFailureTotal { get; set; }

[CounterMetric]
Expand Down