Skip to content

Commit 7bcc2a7

Browse files
committed
Update TFO-Collector configuration & accomplish tasks 5.1-6.4
1 parent 648880e commit 7bcc2a7

10 files changed

Lines changed: 2835 additions & 78 deletions

File tree

.kiro/specs/iam-module-standardization/tasks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This implementation plan transforms the IAM module standardization design into a
8383
- Create missing directory structure generator
8484
- _Requirements: 3.6, 3.7, 3.8_
8585

86-
- [-] 5.4 Write unit tests for structure validator and fixer
86+
- [x] 5.4 Write unit tests for structure validator and fixer
8787
- Test directory structure validation with various layouts
8888
- Test naming convention validation with different file patterns
8989
- Test automated fixes with structure violations
@@ -97,7 +97,7 @@ This implementation plan transforms the IAM module standardization design into a
9797
- Check for environment variable usage (no hardcoded values)
9898
- _Requirements: 4.1, 4.2, 4.3, 4.4_
9999

100-
- [ ] 6.2 Write property test for database patterns
100+
- [x] 6.2 Write property test for database patterns
101101
- **Property 4: Database Pattern Compliance**
102102
- **Validates: Requirements 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10**
103103

@@ -108,7 +108,7 @@ This implementation plan transforms the IAM module standardization design into a
108108
- Check seed idempotency and error handling
109109
- _Requirements: 4.5, 4.6, 4.7, 4.8, 4.9, 4.10_
110110

111-
- [ ] 6.4 Write integration tests for database validation
111+
- [x] 6.4 Write integration tests for database validation
112112
- Test migration validation with real migration files
113113
- Test seed validation with actual seed data
114114
- Test constraint and index validation
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# =============================================================================
2+
# OpenTelemetry Collector Configuration (Minimal)
3+
# =============================================================================
4+
# TelemetryFlow Collector - Community Enterprise Observability Platform (CEOP)
5+
# Copyright (c) 2024-2026 TelemetryFlow. All rights reserved.
6+
#
7+
# This is a MINIMAL configuration for quick start and testing.
8+
# For production use, see otel-collector.yaml or tfo-collector.yaml.
9+
#
10+
# Usage: ./tfo-collector --config configs/otel-collector-minimal.yaml
11+
#
12+
# =============================================================================
13+
# Endpoints:
14+
# HTTP: http://localhost:4318/v1/{traces,metrics,logs}
15+
# gRPC: localhost:4317
16+
# Health: http://localhost:13133/
17+
# Metrics: http://localhost:8888/metrics
18+
# =============================================================================
19+
20+
extensions:
21+
health_check:
22+
endpoint: "0.0.0.0:13133"
23+
24+
receivers:
25+
otlp:
26+
protocols:
27+
grpc:
28+
endpoint: "0.0.0.0:4317"
29+
http:
30+
endpoint: "0.0.0.0:4318"
31+
32+
processors:
33+
batch:
34+
timeout: 200ms
35+
send_batch_size: 8192
36+
37+
memory_limiter:
38+
check_interval: 1s
39+
limit_percentage: 80
40+
spike_limit_percentage: 25
41+
42+
exporters:
43+
debug:
44+
verbosity: detailed
45+
sampling_initial: 5
46+
sampling_thereafter: 200
47+
48+
prometheus:
49+
endpoint: "0.0.0.0:8889"
50+
namespace: telemetryflow
51+
52+
service:
53+
extensions: [health_check]
54+
55+
pipelines:
56+
traces:
57+
receivers: [otlp]
58+
processors: [memory_limiter, batch]
59+
exporters: [debug]
60+
61+
metrics:
62+
receivers: [otlp]
63+
processors: [memory_limiter, batch]
64+
exporters: [debug, prometheus]
65+
66+
logs:
67+
receivers: [otlp]
68+
processors: [memory_limiter, batch]
69+
exporters: [debug]
70+
71+
telemetry:
72+
logs:
73+
level: info
74+
metrics:
75+
level: basic
76+
readers:
77+
- pull:
78+
exporter:
79+
prometheus:
80+
host: "0.0.0.0"
81+
port: 8888

0 commit comments

Comments
 (0)