Skip to content

Commit f5f4214

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add TCP congestion signals to CNM aggregated connections spec (#3846)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e142659 commit f5f4214

2 files changed

Lines changed: 214 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76566,10 +76566,16 @@ components:
7656676566
packets_sent_by_server: 20
7656776567
rtt_micro_seconds: 800
7656876568
tcp_closed_connections: 30
76569+
tcp_delivered_ce: 12
7656976570
tcp_established_connections: 40
76571+
tcp_probe0_count: 2
76572+
tcp_rcv_ooo_pack: 15
76573+
tcp_recovery_count: 8
7657076574
tcp_refusals: 7
76575+
tcp_reord_seen: 4
7657176576
tcp_resets: 5
7657276577
tcp_retransmits: 30
76578+
tcp_rto_count: 3
7657376579
tcp_timeouts: 6
7657476580
id: client_team:networks, server_service:hucklebuck
7657576581
type: aggregated_connection
@@ -76627,14 +76633,34 @@ components:
7662776633
description: The number of TCP connections in a closed state. Measured in connections per second from the client.
7662876634
format: int64
7662976635
type: integer
76636+
tcp_delivered_ce:
76637+
description: The number of TCP segments acknowledged with the ECN Congestion Experienced (CE) mark, indicating that an upstream router marked packets as experiencing congestion.
76638+
format: int64
76639+
type: integer
7663076640
tcp_established_connections:
7663176641
description: The number of TCP connections in an established state. Measured in connections per second from the client.
7663276642
format: int64
7663376643
type: integer
76644+
tcp_probe0_count:
76645+
description: The number of TCP zero-window probes sent. These probes are sent when the receiver advertises a zero receive window, indicating it cannot accept more data.
76646+
format: int64
76647+
type: integer
76648+
tcp_rcv_ooo_pack:
76649+
description: The number of TCP packets received out of order. This indicates network-level packet reordering, which can degrade TCP performance by triggering spurious retransmissions and reducing throughput.
76650+
format: int64
76651+
type: integer
76652+
tcp_recovery_count:
76653+
description: The number of TCP fast recovery events. Fast recovery retransmits lost segments detected through duplicate ACKs or selective acknowledgment (SACK) without waiting for a retransmission timeout.
76654+
format: int64
76655+
type: integer
7663476656
tcp_refusals:
7663576657
description: The number of TCP connections that were refused by the server. Typically this indicates an attempt to connect to an IP/port that is not receiving connections, or a firewall/security misconfiguration.
7663676658
format: int64
7663776659
type: integer
76660+
tcp_reord_seen:
76661+
description: The number of times reordering of sent packets was detected. Reordering detection adjusts the duplicate ACK threshold, preventing spurious retransmissions caused by out-of-order delivery.
76662+
format: int64
76663+
type: integer
7663876664
tcp_resets:
7663976665
description: The number of TCP connections that were reset by the server.
7664076666
format: int64
@@ -76643,6 +76669,10 @@ components:
7664376669
description: TCP Retransmits represent detected failures that are retransmitted to ensure delivery. Measured in count of retransmits from the client.
7664476670
format: int64
7664576671
type: integer
76672+
tcp_rto_count:
76673+
description: The number of TCP retransmission timeouts (RTOs). An RTO occurs when an ACK is not received within the estimated round-trip time, forcing the sender to retransmit and halve its congestion window.
76674+
format: int64
76675+
type: integer
7664676676
tcp_timeouts:
7664776677
description: The number of TCP connections that timed out from the perspective of the operating system. This can indicate general connectivity and latency issues.
7664876678
format: int64

src/main/java/com/datadog/api/client/v2/model/SingleAggregatedConnectionResponseDataAttributes.java

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,16 @@
2626
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_PACKETS_SENT_BY_SERVER,
2727
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_RTT_MICRO_SECONDS,
2828
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_CLOSED_CONNECTIONS,
29+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_DELIVERED_CE,
2930
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_ESTABLISHED_CONNECTIONS,
31+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_PROBE0_COUNT,
32+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_RCV_OOO_PACK,
33+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_RECOVERY_COUNT,
3034
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_REFUSALS,
35+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_REORD_SEEN,
3136
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_RESETS,
3237
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_RETRANSMITS,
38+
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_RTO_COUNT,
3339
SingleAggregatedConnectionResponseDataAttributes.JSON_PROPERTY_TCP_TIMEOUTS
3440
})
3541
@jakarta.annotation.Generated(
@@ -57,19 +63,37 @@ public class SingleAggregatedConnectionResponseDataAttributes {
5763
public static final String JSON_PROPERTY_TCP_CLOSED_CONNECTIONS = "tcp_closed_connections";
5864
private Long tcpClosedConnections;
5965

66+
public static final String JSON_PROPERTY_TCP_DELIVERED_CE = "tcp_delivered_ce";
67+
private Long tcpDeliveredCe;
68+
6069
public static final String JSON_PROPERTY_TCP_ESTABLISHED_CONNECTIONS =
6170
"tcp_established_connections";
6271
private Long tcpEstablishedConnections;
6372

73+
public static final String JSON_PROPERTY_TCP_PROBE0_COUNT = "tcp_probe0_count";
74+
private Long tcpProbe0Count;
75+
76+
public static final String JSON_PROPERTY_TCP_RCV_OOO_PACK = "tcp_rcv_ooo_pack";
77+
private Long tcpRcvOooPack;
78+
79+
public static final String JSON_PROPERTY_TCP_RECOVERY_COUNT = "tcp_recovery_count";
80+
private Long tcpRecoveryCount;
81+
6482
public static final String JSON_PROPERTY_TCP_REFUSALS = "tcp_refusals";
6583
private Long tcpRefusals;
6684

85+
public static final String JSON_PROPERTY_TCP_REORD_SEEN = "tcp_reord_seen";
86+
private Long tcpReordSeen;
87+
6788
public static final String JSON_PROPERTY_TCP_RESETS = "tcp_resets";
6889
private Long tcpResets;
6990

7091
public static final String JSON_PROPERTY_TCP_RETRANSMITS = "tcp_retransmits";
7192
private Long tcpRetransmits;
7293

94+
public static final String JSON_PROPERTY_TCP_RTO_COUNT = "tcp_rto_count";
95+
private Long tcpRtoCount;
96+
7397
public static final String JSON_PROPERTY_TCP_TIMEOUTS = "tcp_timeouts";
7498
private Long tcpTimeouts;
7599

@@ -237,6 +261,28 @@ public void setTcpClosedConnections(Long tcpClosedConnections) {
237261
this.tcpClosedConnections = tcpClosedConnections;
238262
}
239263

264+
public SingleAggregatedConnectionResponseDataAttributes tcpDeliveredCe(Long tcpDeliveredCe) {
265+
this.tcpDeliveredCe = tcpDeliveredCe;
266+
return this;
267+
}
268+
269+
/**
270+
* The number of TCP segments acknowledged with the ECN Congestion Experienced (CE) mark,
271+
* indicating that an upstream router marked packets as experiencing congestion.
272+
*
273+
* @return tcpDeliveredCe
274+
*/
275+
@jakarta.annotation.Nullable
276+
@JsonProperty(JSON_PROPERTY_TCP_DELIVERED_CE)
277+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
278+
public Long getTcpDeliveredCe() {
279+
return tcpDeliveredCe;
280+
}
281+
282+
public void setTcpDeliveredCe(Long tcpDeliveredCe) {
283+
this.tcpDeliveredCe = tcpDeliveredCe;
284+
}
285+
240286
public SingleAggregatedConnectionResponseDataAttributes tcpEstablishedConnections(
241287
Long tcpEstablishedConnections) {
242288
this.tcpEstablishedConnections = tcpEstablishedConnections;
@@ -260,6 +306,74 @@ public void setTcpEstablishedConnections(Long tcpEstablishedConnections) {
260306
this.tcpEstablishedConnections = tcpEstablishedConnections;
261307
}
262308

309+
public SingleAggregatedConnectionResponseDataAttributes tcpProbe0Count(Long tcpProbe0Count) {
310+
this.tcpProbe0Count = tcpProbe0Count;
311+
return this;
312+
}
313+
314+
/**
315+
* The number of TCP zero-window probes sent. These probes are sent when the receiver advertises a
316+
* zero receive window, indicating it cannot accept more data.
317+
*
318+
* @return tcpProbe0Count
319+
*/
320+
@jakarta.annotation.Nullable
321+
@JsonProperty(JSON_PROPERTY_TCP_PROBE0_COUNT)
322+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
323+
public Long getTcpProbe0Count() {
324+
return tcpProbe0Count;
325+
}
326+
327+
public void setTcpProbe0Count(Long tcpProbe0Count) {
328+
this.tcpProbe0Count = tcpProbe0Count;
329+
}
330+
331+
public SingleAggregatedConnectionResponseDataAttributes tcpRcvOooPack(Long tcpRcvOooPack) {
332+
this.tcpRcvOooPack = tcpRcvOooPack;
333+
return this;
334+
}
335+
336+
/**
337+
* The number of TCP packets received out of order. This indicates network-level packet
338+
* reordering, which can degrade TCP performance by triggering spurious retransmissions and
339+
* reducing throughput.
340+
*
341+
* @return tcpRcvOooPack
342+
*/
343+
@jakarta.annotation.Nullable
344+
@JsonProperty(JSON_PROPERTY_TCP_RCV_OOO_PACK)
345+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
346+
public Long getTcpRcvOooPack() {
347+
return tcpRcvOooPack;
348+
}
349+
350+
public void setTcpRcvOooPack(Long tcpRcvOooPack) {
351+
this.tcpRcvOooPack = tcpRcvOooPack;
352+
}
353+
354+
public SingleAggregatedConnectionResponseDataAttributes tcpRecoveryCount(Long tcpRecoveryCount) {
355+
this.tcpRecoveryCount = tcpRecoveryCount;
356+
return this;
357+
}
358+
359+
/**
360+
* The number of TCP fast recovery events. Fast recovery retransmits lost segments detected
361+
* through duplicate ACKs or selective acknowledgment (SACK) without waiting for a retransmission
362+
* timeout.
363+
*
364+
* @return tcpRecoveryCount
365+
*/
366+
@jakarta.annotation.Nullable
367+
@JsonProperty(JSON_PROPERTY_TCP_RECOVERY_COUNT)
368+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
369+
public Long getTcpRecoveryCount() {
370+
return tcpRecoveryCount;
371+
}
372+
373+
public void setTcpRecoveryCount(Long tcpRecoveryCount) {
374+
this.tcpRecoveryCount = tcpRecoveryCount;
375+
}
376+
263377
public SingleAggregatedConnectionResponseDataAttributes tcpRefusals(Long tcpRefusals) {
264378
this.tcpRefusals = tcpRefusals;
265379
return this;
@@ -283,6 +397,28 @@ public void setTcpRefusals(Long tcpRefusals) {
283397
this.tcpRefusals = tcpRefusals;
284398
}
285399

400+
public SingleAggregatedConnectionResponseDataAttributes tcpReordSeen(Long tcpReordSeen) {
401+
this.tcpReordSeen = tcpReordSeen;
402+
return this;
403+
}
404+
405+
/**
406+
* The number of times reordering of sent packets was detected. Reordering detection adjusts the
407+
* duplicate ACK threshold, preventing spurious retransmissions caused by out-of-order delivery.
408+
*
409+
* @return tcpReordSeen
410+
*/
411+
@jakarta.annotation.Nullable
412+
@JsonProperty(JSON_PROPERTY_TCP_REORD_SEEN)
413+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
414+
public Long getTcpReordSeen() {
415+
return tcpReordSeen;
416+
}
417+
418+
public void setTcpReordSeen(Long tcpReordSeen) {
419+
this.tcpReordSeen = tcpReordSeen;
420+
}
421+
286422
public SingleAggregatedConnectionResponseDataAttributes tcpResets(Long tcpResets) {
287423
this.tcpResets = tcpResets;
288424
return this;
@@ -326,6 +462,29 @@ public void setTcpRetransmits(Long tcpRetransmits) {
326462
this.tcpRetransmits = tcpRetransmits;
327463
}
328464

465+
public SingleAggregatedConnectionResponseDataAttributes tcpRtoCount(Long tcpRtoCount) {
466+
this.tcpRtoCount = tcpRtoCount;
467+
return this;
468+
}
469+
470+
/**
471+
* The number of TCP retransmission timeouts (RTOs). An RTO occurs when an ACK is not received
472+
* within the estimated round-trip time, forcing the sender to retransmit and halve its congestion
473+
* window.
474+
*
475+
* @return tcpRtoCount
476+
*/
477+
@jakarta.annotation.Nullable
478+
@JsonProperty(JSON_PROPERTY_TCP_RTO_COUNT)
479+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
480+
public Long getTcpRtoCount() {
481+
return tcpRtoCount;
482+
}
483+
484+
public void setTcpRtoCount(Long tcpRtoCount) {
485+
this.tcpRtoCount = tcpRtoCount;
486+
}
487+
329488
public SingleAggregatedConnectionResponseDataAttributes tcpTimeouts(Long tcpTimeouts) {
330489
this.tcpTimeouts = tcpTimeouts;
331490
return this;
@@ -425,15 +584,28 @@ public boolean equals(Object o) {
425584
&& Objects.equals(
426585
this.tcpClosedConnections,
427586
singleAggregatedConnectionResponseDataAttributes.tcpClosedConnections)
587+
&& Objects.equals(
588+
this.tcpDeliveredCe, singleAggregatedConnectionResponseDataAttributes.tcpDeliveredCe)
428589
&& Objects.equals(
429590
this.tcpEstablishedConnections,
430591
singleAggregatedConnectionResponseDataAttributes.tcpEstablishedConnections)
592+
&& Objects.equals(
593+
this.tcpProbe0Count, singleAggregatedConnectionResponseDataAttributes.tcpProbe0Count)
594+
&& Objects.equals(
595+
this.tcpRcvOooPack, singleAggregatedConnectionResponseDataAttributes.tcpRcvOooPack)
596+
&& Objects.equals(
597+
this.tcpRecoveryCount,
598+
singleAggregatedConnectionResponseDataAttributes.tcpRecoveryCount)
431599
&& Objects.equals(
432600
this.tcpRefusals, singleAggregatedConnectionResponseDataAttributes.tcpRefusals)
601+
&& Objects.equals(
602+
this.tcpReordSeen, singleAggregatedConnectionResponseDataAttributes.tcpReordSeen)
433603
&& Objects.equals(
434604
this.tcpResets, singleAggregatedConnectionResponseDataAttributes.tcpResets)
435605
&& Objects.equals(
436606
this.tcpRetransmits, singleAggregatedConnectionResponseDataAttributes.tcpRetransmits)
607+
&& Objects.equals(
608+
this.tcpRtoCount, singleAggregatedConnectionResponseDataAttributes.tcpRtoCount)
437609
&& Objects.equals(
438610
this.tcpTimeouts, singleAggregatedConnectionResponseDataAttributes.tcpTimeouts)
439611
&& Objects.equals(
@@ -451,10 +623,16 @@ public int hashCode() {
451623
packetsSentByServer,
452624
rttMicroSeconds,
453625
tcpClosedConnections,
626+
tcpDeliveredCe,
454627
tcpEstablishedConnections,
628+
tcpProbe0Count,
629+
tcpRcvOooPack,
630+
tcpRecoveryCount,
455631
tcpRefusals,
632+
tcpReordSeen,
456633
tcpResets,
457634
tcpRetransmits,
635+
tcpRtoCount,
458636
tcpTimeouts,
459637
additionalProperties);
460638
}
@@ -476,12 +654,18 @@ public String toString() {
476654
sb.append(" tcpClosedConnections: ")
477655
.append(toIndentedString(tcpClosedConnections))
478656
.append("\n");
657+
sb.append(" tcpDeliveredCe: ").append(toIndentedString(tcpDeliveredCe)).append("\n");
479658
sb.append(" tcpEstablishedConnections: ")
480659
.append(toIndentedString(tcpEstablishedConnections))
481660
.append("\n");
661+
sb.append(" tcpProbe0Count: ").append(toIndentedString(tcpProbe0Count)).append("\n");
662+
sb.append(" tcpRcvOooPack: ").append(toIndentedString(tcpRcvOooPack)).append("\n");
663+
sb.append(" tcpRecoveryCount: ").append(toIndentedString(tcpRecoveryCount)).append("\n");
482664
sb.append(" tcpRefusals: ").append(toIndentedString(tcpRefusals)).append("\n");
665+
sb.append(" tcpReordSeen: ").append(toIndentedString(tcpReordSeen)).append("\n");
483666
sb.append(" tcpResets: ").append(toIndentedString(tcpResets)).append("\n");
484667
sb.append(" tcpRetransmits: ").append(toIndentedString(tcpRetransmits)).append("\n");
668+
sb.append(" tcpRtoCount: ").append(toIndentedString(tcpRtoCount)).append("\n");
485669
sb.append(" tcpTimeouts: ").append(toIndentedString(tcpTimeouts)).append("\n");
486670
sb.append(" additionalProperties: ")
487671
.append(toIndentedString(additionalProperties))

0 commit comments

Comments
 (0)