Skip to content

Commit 0aa4b60

Browse files
committed
feat: Update fature container name & container image. Network restransmit metrics
1 parent d7b8622 commit 0aa4b60

7 files changed

Lines changed: 48 additions & 24 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# -----------------------------------------------------------------------------
88
# Build Configuration
99
# -----------------------------------------------------------------------------
10-
VERSION=1.1.2
10+
VERSION=1.1.3
1111
OTEL_SDK_VERSION=1.39.0
1212
GIT_COMMIT=unknown
1313
GIT_BRANCH=main
@@ -18,7 +18,7 @@ BUILD_TIME=unknown
1818
# -----------------------------------------------------------------------------
1919
CONTAINER_NAME=tfo-agent
2020
IMAGE_NAME=telemetryflow/telemetryflow-agent
21-
IMAGE_TAG=1.1.2
21+
IMAGE_TAG=1.1.3
2222

2323
# -----------------------------------------------------------------------------
2424
# Network Configuration

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h3>TelemetryFlow Agent (OTEL Agent)</h3>
99

10-
[![Version](https://img.shields.io/badge/Version-1.1.2-orange.svg)](CHANGELOG.md)
10+
[![Version](https://img.shields.io/badge/Version-1.1.3-orange.svg)](CHANGELOG.md)
1111
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
1212
[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)](https://golang.org/)
1313
[![OTEL SDK](https://img.shields.io/badge/OpenTelemetry_SDK-1.39.0-blueviolet)](https://opentelemetry.io/)
@@ -24,6 +24,29 @@ All notable changes to TelemetryFlow Agent will be documented in this file.
2424
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.1/),
2525
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2626

27+
## [1.1.3] - 2026-02-04
28+
29+
### Added
30+
31+
- **Network Retransmit Metrics**: TCP retransmit segment counting from `/proc/net/snmp` (Linux)
32+
- Parses `RetransSegs` from the TCP section of `/proc/net/snmp`
33+
- Provides visibility into network reliability and congestion issues
34+
- **Network Throughput Rate Calculation**: Real-time bytes sent/recv rate metrics in `GetSystemInfo()`
35+
- Calculates `NetworkBytesSentRate` and `NetworkBytesRecvRate` using cached previous values
36+
- Thread-safe rate tracking via `systemInfoCache` with mutex protection
37+
- **Container Name Detection**: New `getContainerName()` function for container identity
38+
- Supports `CONTAINER_NAME`, Docker Compose (`COMPOSE_PROJECT_NAME` + `COMPOSE_SERVICE`)
39+
- Kubernetes pod name via `POD_NAME` environment variable
40+
- Docker container name via `DOCKER_CONTAINER_NAME`
41+
- **Container Image Detection**: New `getContainerImage()` function for container image tracking
42+
- Supports `CONTAINER_IMAGE`, Kubernetes `POD_IMAGE`, and Docker `DOCKER_IMAGE` environment variables
43+
- **Memory Page Fault Metrics**: Page fault tracking from `/proc/vmstat` (Linux)
44+
- Major page faults (`pgmajfault`) and minor page faults (derived from total `pgfault` - major)
45+
- **Disk IOPS Calculation**: Operations per second metric derived from disk I/O counters
46+
- Calculates IOPS from total read/write operations and IO time
47+
- **System Call Counting**: Aggregate system call metrics from all processes (Linux)
48+
- Reads from `/proc/[pid]/io` to count read (`syscr`) and write (`syscw`) system calls
49+
2750
## [1.1.2] - 2026-01-03
2851

2952
### Added
@@ -256,6 +279,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
256279

257280
| Version | Date | OTEL SDK | Description |
258281
| ------- | ---------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
282+
| 1.1.3 | 2026-02-04 | v1.39.0 | Network retransmit metrics, container name/image detection, page faults, IOPS, system calls |
259283
| 1.1.2 | 2026-01-03 | v1.39.0 | OSS observability (SigNoz, Coroot, HyperDX, OpenObserve, Netdata), APM (Dynatrace, Instana, ManageEngine) |
260284
| 1.1.1 | 2024-12-29 | v1.39.0 | Enterprise integrations (GCP, Azure, Alibaba, Proxmox, VMware, Nutanix, Cisco, SNMP, MQTT, eBPF) |
261285
| 1.1.0 | 2024-12-27 | v1.39.0 | OTEL SDK standardization, aligned with TFO-Go-SDK & TFO-Collector |

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h3>TelemetryFlow Agent (OTEL Agent)</h3>
99

10-
[![Version](https://img.shields.io/badge/Version-1.1.2-orange.svg)](CHANGELOG.md)
10+
[![Version](https://img.shields.io/badge/Version-1.1.3-orange.svg)](CHANGELOG.md)
1111
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
1212
[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)](https://golang.org/)
1313
[![OTEL SDK](https://img.shields.io/badge/OpenTelemetry_SDK-1.39.0-blueviolet)](https://opentelemetry.io/)

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
FROM golang:1.24-alpine AS builder
2828

2929
# Build arguments
30-
ARG VERSION=1.1.2
30+
ARG VERSION=1.1.3
3131
ARG GIT_COMMIT=unknown
3232
ARG GIT_BRANCH=unknown
3333
ARG BUILD_TIME=unknown
@@ -69,7 +69,7 @@ FROM alpine:3.21
6969
# =============================================================================
7070
LABEL org.opencontainers.image.title="TelemetryFlow Agent" \
7171
org.opencontainers.image.description="Enterprise telemetry collection agent for metrics, logs, and traces - Community Enterprise Observability Platform (CEOP)" \
72-
org.opencontainers.image.version="1.1.2" \
72+
org.opencontainers.image.version="1.1.3" \
7373
org.opencontainers.image.vendor="TelemetryFlow" \
7474
org.opencontainers.image.authors="DevOpsCorner Indonesia <support@devopscorner.id>" \
7575
org.opencontainers.image.url="https://telemetryflow.id" \
@@ -145,11 +145,11 @@ CMD ["start", "--config", "/etc/tfo-agent/tfo-agent.yaml"]
145145
# =============================================================================
146146
# Build with:
147147
# docker build \
148-
# --build-arg VERSION=1.1.2 \
148+
# --build-arg VERSION=1.1.3 \
149149
# --build-arg GIT_COMMIT=$(git rev-parse --short HEAD) \
150150
# --build-arg GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) \
151151
# --build-arg BUILD_TIME=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
152-
# -t telemetryflow/telemetryflow-agent:1.1.2 .
152+
# -t telemetryflow/telemetryflow-agent:1.1.3 .
153153
#
154154
# Run with:
155155
# docker run -d \
@@ -160,5 +160,5 @@ CMD ["start", "--config", "/etc/tfo-agent/tfo-agent.yaml"]
160160
# -p 13133:13133 \
161161
# -v /path/to/config.yaml:/etc/tfo-agent/tfo-agent.yaml:ro \
162162
# -v /var/lib/tfo-agent:/var/lib/tfo-agent \
163-
# telemetryflow/telemetryflow-agent:1.1.2
163+
# telemetryflow/telemetryflow-agent:1.1.3
164164
# =============================================================================

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h3>TelemetryFlow Agent (OTEL Agent)</h3>
99

10-
[![Version](https://img.shields.io/badge/Version-1.1.2-orange.svg)](CHANGELOG.md)
10+
[![Version](https://img.shields.io/badge/Version-1.1.3-orange.svg)](CHANGELOG.md)
1111
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
1212
[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)](https://golang.org/)
1313
[![OTEL SDK](https://img.shields.io/badge/OpenTelemetry_SDK-1.39.0-blueviolet)](https://opentelemetry.io/)
@@ -32,7 +32,7 @@ TFO-Agent is fully aligned with the TelemetryFlow ecosystem, sharing the same Op
3232

3333
```mermaid
3434
graph LR
35-
subgraph "TelemetryFlow Ecosystem v1.1.2"
35+
subgraph "TelemetryFlow Ecosystem v1.1.3"
3636
subgraph "Instrumentation"
3737
SDK[TFO-Go-SDK<br/>OTEL SDK v1.39.0]
3838
end
@@ -59,9 +59,9 @@ graph LR
5959

6060
| Component | Version | OTEL Base | Description |
6161
| ----------------- | ------- | ------------------ | --------------------------- |
62-
| **TFO-Agent** | v1.1.2 | SDK v1.39.0 | Telemetry collection agent |
63-
| **TFO-Go-SDK** | v1.1.2 | SDK v1.39.0 | Go instrumentation SDK |
64-
| **TFO-Collector** | v1.1.2 | Collector v0.142.0 | Central telemetry collector |
62+
| **TFO-Agent** | v1.1.3 | SDK v1.39.0 | Telemetry collection agent |
63+
| **TFO-Go-SDK** | v1.1.3 | SDK v1.39.0 | Go instrumentation SDK |
64+
| **TFO-Collector** | v1.1.3 | Collector v0.142.0 | Central telemetry collector |
6565

6666
## Features
6767

@@ -137,11 +137,11 @@ docker-compose down
137137
```bash
138138
# Build image
139139
docker build \
140-
--build-arg VERSION=1.1.2 \
140+
--build-arg VERSION=1.1.3 \
141141
--build-arg GIT_COMMIT=$(git rev-parse --short HEAD) \
142142
--build-arg GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) \
143143
--build-arg BUILD_TIME=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
144-
-t telemetryflow/telemetryflow-agent:1.1.2 .
144+
-t telemetryflow/telemetryflow-agent:1.1.3 .
145145

146146
# Run container
147147
docker run -d --name tfo-agent \
@@ -151,7 +151,7 @@ docker run -d --name tfo-agent \
151151
-p 13133:13133 \
152152
-v /path/to/config.yaml:/etc/tfo-agent/tfo-agent.yaml:ro \
153153
-v /var/lib/tfo-agent:/var/lib/tfo-agent \
154-
telemetryflow/telemetryflow-agent:1.1.2
154+
telemetryflow/telemetryflow-agent:1.1.3
155155
```
156156

157157
### OTEL Collector Ports
@@ -193,7 +193,7 @@ POST http://localhost:4318/v1/logs
193193
Create configuration file at `/etc/tfo-agent/tfo-agent.yaml`:
194194

195195
```yaml
196-
# TelemetryFlow Platform Configuration (v1.1.2+)
196+
# TelemetryFlow Platform Configuration (v1.1.3+)
197197
telemetryflow:
198198
api_key_id: "${TELEMETRYFLOW_API_KEY_ID}"
199199
api_key_secret: "${TELEMETRYFLOW_API_KEY_SECRET}"
@@ -243,7 +243,7 @@ buffer:
243243
### Environment Variables
244244
245245
```bash
246-
# TelemetryFlow Platform (v1.1.2+)
246+
# TelemetryFlow Platform (v1.1.3+)
247247
export TELEMETRYFLOW_ENDPOINT="localhost:4317"
248248
export TELEMETRYFLOW_API_KEY_ID="tfk_your_key_id"
249249
export TELEMETRYFLOW_API_KEY_SECRET="tfs_your_key_secret"

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h3>TelemetryFlow Agent (OTEL Agent)</h3>
99

10-
[![Version](https://img.shields.io/badge/Version-1.1.2-orange.svg)](CHANGELOG.md)
10+
[![Version](https://img.shields.io/badge/Version-1.1.3-orange.svg)](CHANGELOG.md)
1111
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
1212
[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)](https://golang.org/)
1313
[![OTEL SDK](https://img.shields.io/badge/OpenTelemetry_SDK-1.39.0-blueviolet)](https://opentelemetry.io/)
@@ -364,7 +364,7 @@ _No security researchers have been acknowledged yet._
364364
---
365365

366366
- **Last Updated**: December 23, 2025
367-
- **Version**: 1.1.2
367+
- **Version**: 1.1.3
368368
- **Project**: TelemetryFlow Agent
369369

370370
**Built with ❤️ by DevOpsCorner Indonesia**

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# TelemetryFlow Agent - Docker Compose
33
# =============================================================================
44
#
5-
# TelemetryFlow Agent v1.1.2 (Based on OpenTelemetry SDK 1.39.0)
5+
# TelemetryFlow Agent v1.1.3 (Based on OpenTelemetry SDK 1.39.0)
66
# Community Enterprise Observability Platform (CEOP)
77
# Copyright (c) 2024-2026 DevOpsCorner Indonesia. All rights reserved.
88
#
@@ -30,12 +30,12 @@
3030
services:
3131
tfo-agent:
3232
container_name: ${CONTAINER_NAME:-tfo-agent}
33-
image: ${IMAGE_NAME:-telemetryflow/telemetryflow-agent}:${IMAGE_TAG:-1.1.2}
33+
image: ${IMAGE_NAME:-telemetryflow/telemetryflow-agent}:${IMAGE_TAG:-1.1.3}
3434
build:
3535
context: .
3636
dockerfile: Dockerfile
3737
args:
38-
VERSION: ${VERSION:-1.1.2}
38+
VERSION: ${VERSION:-1.1.3}
3939
GIT_COMMIT: ${GIT_COMMIT:-unknown}
4040
GIT_BRANCH: ${GIT_BRANCH:-main}
4141
BUILD_TIME: ${BUILD_TIME:-unknown}

0 commit comments

Comments
 (0)