Skip to content

Commit 9638914

Browse files
committed
Add missing metric tag
1 parent 2df0926 commit 9638914

File tree

14 files changed

+470
-428
lines changed

14 files changed

+470
-428
lines changed

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/TelemetryMetricGenerator/CiVisibilityMetricsTelemetryCollector_CountShared.g.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Datadog.Trace.Telemetry;
1212
internal partial class CiVisibilityMetricsTelemetryCollector
1313
{
14-
private const int CountSharedLength = 324;
14+
private const int CountSharedLength = 328;
1515

1616
/// <summary>
1717
/// Creates the buffer for the <see cref="Datadog.Trace.Telemetry.Metrics.CountShared" /> values.
@@ -28,6 +28,10 @@ private static AggregatedMetric[] GetCountSharedBuffer()
2828
new(new[] { "integration_name:opentracing", "error_type:invoker" }),
2929
new(new[] { "integration_name:opentracing", "error_type:execution" }),
3030
new(new[] { "integration_name:opentracing", "error_type:missing_member" }),
31+
new(new[] { "integration_name:version_conflict", "error_type:duck_typing" }),
32+
new(new[] { "integration_name:version_conflict", "error_type:invoker" }),
33+
new(new[] { "integration_name:version_conflict", "error_type:execution" }),
34+
new(new[] { "integration_name:version_conflict", "error_type:missing_member" }),
3135
new(new[] { "integration_name:ciapp", "error_type:duck_typing" }),
3236
new(new[] { "integration_name:ciapp", "error_type:invoker" }),
3337
new(new[] { "integration_name:ciapp", "error_type:execution" }),
@@ -352,11 +356,11 @@ private static AggregatedMetric[] GetCountSharedBuffer()
352356
/// It is equal to the cardinality of the tag combinations (or 1 if there are no tags)
353357
/// </summary>
354358
private static int[] CountSharedEntryCounts { get; }
355-
= new int[]{ 324, };
359+
= new int[]{ 328, };
356360

357361
public void RecordCountSharedIntegrationsError(Datadog.Trace.Telemetry.Metrics.MetricTags.IntegrationName tag1, Datadog.Trace.Telemetry.Metrics.MetricTags.InstrumentationError tag2, int increment = 1)
358362
{
359363
var index = 0 + ((int)tag1 * 4) + (int)tag2;
360364
Interlocked.Add(ref _buffer.CountShared[index], increment);
361365
}
362-
}
366+
}

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/TelemetryMetricGenerator/MetricsTelemetryCollector_Count.g.cs

Lines changed: 103 additions & 101 deletions
Large diffs are not rendered by default.

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/TelemetryMetricGenerator/MetricsTelemetryCollector_CountShared.g.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Datadog.Trace.Telemetry;
1212
internal partial class MetricsTelemetryCollector
1313
{
14-
private const int CountSharedLength = 324;
14+
private const int CountSharedLength = 328;
1515

1616
/// <summary>
1717
/// Creates the buffer for the <see cref="Datadog.Trace.Telemetry.Metrics.CountShared" /> values.
@@ -28,6 +28,10 @@ private static AggregatedMetric[] GetCountSharedBuffer()
2828
new(new[] { "integration_name:opentracing", "error_type:invoker" }),
2929
new(new[] { "integration_name:opentracing", "error_type:execution" }),
3030
new(new[] { "integration_name:opentracing", "error_type:missing_member" }),
31+
new(new[] { "integration_name:version_conflict", "error_type:duck_typing" }),
32+
new(new[] { "integration_name:version_conflict", "error_type:invoker" }),
33+
new(new[] { "integration_name:version_conflict", "error_type:execution" }),
34+
new(new[] { "integration_name:version_conflict", "error_type:missing_member" }),
3135
new(new[] { "integration_name:ciapp", "error_type:duck_typing" }),
3236
new(new[] { "integration_name:ciapp", "error_type:invoker" }),
3337
new(new[] { "integration_name:ciapp", "error_type:execution" }),
@@ -352,11 +356,11 @@ private static AggregatedMetric[] GetCountSharedBuffer()
352356
/// It is equal to the cardinality of the tag combinations (or 1 if there are no tags)
353357
/// </summary>
354358
private static int[] CountSharedEntryCounts { get; }
355-
= new int[]{ 324, };
359+
= new int[]{ 328, };
356360

357361
public void RecordCountSharedIntegrationsError(Datadog.Trace.Telemetry.Metrics.MetricTags.IntegrationName tag1, Datadog.Trace.Telemetry.Metrics.MetricTags.InstrumentationError tag2, int increment = 1)
358362
{
359363
var index = 0 + ((int)tag1 * 4) + (int)tag2;
360364
Interlocked.Add(ref _buffer.CountShared[index], increment);
361365
}
362-
}
366+
}

tracer/src/Datadog.Trace/Generated/net6.0/Datadog.Trace.SourceGenerators/TelemetryMetricGenerator/CiVisibilityMetricsTelemetryCollector_CountShared.g.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Datadog.Trace.Telemetry;
1212
internal partial class CiVisibilityMetricsTelemetryCollector
1313
{
14-
private const int CountSharedLength = 324;
14+
private const int CountSharedLength = 328;
1515

1616
/// <summary>
1717
/// Creates the buffer for the <see cref="Datadog.Trace.Telemetry.Metrics.CountShared" /> values.
@@ -28,6 +28,10 @@ private static AggregatedMetric[] GetCountSharedBuffer()
2828
new(new[] { "integration_name:opentracing", "error_type:invoker" }),
2929
new(new[] { "integration_name:opentracing", "error_type:execution" }),
3030
new(new[] { "integration_name:opentracing", "error_type:missing_member" }),
31+
new(new[] { "integration_name:version_conflict", "error_type:duck_typing" }),
32+
new(new[] { "integration_name:version_conflict", "error_type:invoker" }),
33+
new(new[] { "integration_name:version_conflict", "error_type:execution" }),
34+
new(new[] { "integration_name:version_conflict", "error_type:missing_member" }),
3135
new(new[] { "integration_name:ciapp", "error_type:duck_typing" }),
3236
new(new[] { "integration_name:ciapp", "error_type:invoker" }),
3337
new(new[] { "integration_name:ciapp", "error_type:execution" }),
@@ -352,11 +356,11 @@ private static AggregatedMetric[] GetCountSharedBuffer()
352356
/// It is equal to the cardinality of the tag combinations (or 1 if there are no tags)
353357
/// </summary>
354358
private static int[] CountSharedEntryCounts { get; }
355-
= new int[]{ 324, };
359+
= new int[]{ 328, };
356360

357361
public void RecordCountSharedIntegrationsError(Datadog.Trace.Telemetry.Metrics.MetricTags.IntegrationName tag1, Datadog.Trace.Telemetry.Metrics.MetricTags.InstrumentationError tag2, int increment = 1)
358362
{
359363
var index = 0 + ((int)tag1 * 4) + (int)tag2;
360364
Interlocked.Add(ref _buffer.CountShared[index], increment);
361365
}
362-
}
366+
}

0 commit comments

Comments
 (0)