Skip to content

Commit 1627d41

Browse files
committed
fix lint issues
1 parent b0f8b9a commit 1627d41

File tree

3 files changed

+67
-47
lines changed

3 files changed

+67
-47
lines changed

CONTRIBUTING.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,27 @@
22

33
## Code of Conduct
44

5-
All members of the project community must abide by the [SAP Open Source Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md).
6-
Only by respecting each other we can develop a productive, collaborative community.
7-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [a project maintainer](REUSE.toml).
5+
All members of the project community must abide by the
6+
[SAP Open Source Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md). Only by respecting each other we can develop
7+
a productive, collaborative community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting
8+
[a project maintainer](REUSE.toml).
89

910
## Engaging in Our Project
1011

1112
We use GitHub to manage reviews of pull requests.
1213

1314
- If you are a new contributor, see: [Steps to Contribute](#steps-to-contribute)
1415

15-
- Before implementing your change, create an issue that describes the problem you would like to solve or the code that should be enhanced. Please note that you are willing to work on that issue.
16+
- Before implementing your change, create an issue that describes the problem you would like to solve or the code that should be enhanced.
17+
Please note that you are willing to work on that issue.
1618

17-
- The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to you. If the team decides against picking up the issue, the team will post a comment with an explanation.
19+
- The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to
20+
you. If the team decides against picking up the issue, the team will post a comment with an explanation.
1821

1922
## Steps to Contribute
2023

21-
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on. This is to prevent duplicated efforts from other contributors on the same issue.
24+
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on. This is to prevent
25+
duplicated efforts from other contributors on the same issue.
2226

2327
If you have questions about one of the issues, please comment on them, and one of the maintainers will clarify.
2428

@@ -29,10 +33,13 @@ You are welcome to contribute code in order to fix a bug or to implement a new f
2933
The following rule governs code contributions:
3034

3135
- Contributions must be licensed under the [Apache 2.0 License](./LICENSE)
32-
- Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
36+
- Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) when they create the first pull request
37+
to this project. This happens in an automated fashion during the submission process. SAP uses
38+
[the standard DCO text of the Linux Foundation](https://developercertificate.org/).
3339

3440
## Issues and Planning
3541

3642
- We use GitHub issues to track bugs and enhancement requests.
3743

38-
- Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to reproduce that issue for the assignee.
44+
- Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to reproduce
45+
that issue for the assignee.

README.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1+
<!-- markdownlint-disable-file MD041 -->
2+
13
[![REUSE status](https://api.reuse.software/badge/github.com/apeirora/audit-log-poc-for-otel)](https://api.reuse.software/info/github.com/apeirora/audit-log-poc-for-otel)
24

35
# Audit Log Proof of Concept for OpenTelemetry
46

5-
This proof of concept is part of an effort to make OpenTelemetry fit for audit logging purposes. We are building an end-to-end scenario to refine the challenges and requirements for audit logging in OTel and to showcase potential solutions.
7+
This proof of concept is part of an effort to make OpenTelemetry fit for audit logging purposes. We are building an end-to-end scenario to
8+
refine the challenges and requirements for audit logging in OTel and to showcase potential solutions.
69

710
Read about the entire idea at [open-telemetry/community#2409](https://github.com/open-telemetry/community/pull/2409).
811

912
## About This Project
1013

11-
This PoC scenario provides an easy setup of an [OpenTelemetry Demo](https://opentelemetry.io/docs/demo/) environment to test how log messages are delivered through multiple different systems.
14+
This PoC scenario provides an easy setup of an [OpenTelemetry Demo](https://opentelemetry.io/docs/demo/) environment to test how log
15+
messages are delivered through multiple different systems.
1216

1317
## Requirements and Setup
1418

@@ -51,24 +55,33 @@ task kind:start otel:demo-install
5155

5256
With the frontend-proxy port-forward set up, you can access:
5357

54-
Web store: http://localhost:8080/
55-
Grafana: http://localhost:8080/grafana/
56-
Load Generator UI: http://localhost:8080/loadgen/
57-
Jaeger UI: http://localhost:8080/jaeger/ui/
58-
Flagd configurator UI: http://localhost:8080/feature
58+
- Web store: <http://localhost:8080/>
59+
- Grafana: <http://localhost:8080/grafana/>
60+
- Load Generator UI: <http://localhost:8080/loadgen/>
61+
- Jaeger UI: <http://localhost:8080/jaeger/ui/>
62+
- Flagd configurator UI: <http://localhost:8080/feature>
5963

6064
## Support, Feedback, Contributing
6165

62-
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/apeirora/audit-log-poc-for-otel/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
66+
This project is open to feature requests/suggestions, bug reports etc. via
67+
[GitHub issues](https://github.com/apeirora/audit-log-poc-for-otel/issues). Contribution and feedback are encouraged and always welcome. For
68+
more information about how to contribute, the project structure, as well as additional contribution information, see our
69+
[Contribution Guidelines](CONTRIBUTING.md).
6370

6471
## Security / Disclosure
6572

66-
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/apeirora/audit-log-poc-for-otel/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.
73+
If you find any bug that may be a security problem, please follow our instructions at
74+
[in our security policy](https://github.com/apeirora/audit-log-poc-for-otel/security/policy) on how to report it. Please do not create
75+
GitHub issues for security-related doubts or problems.
6776

6877
## Code of Conduct
6978

70-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/apeirora/.github/blob/main/CODE_OF_CONDUCT.md) at all times.
79+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By
80+
participating in this project, you agree to abide by its [Code of Conduct](https://github.com/apeirora/.github/blob/main/CODE_OF_CONDUCT.md)
81+
at all times.
7182

7283
## Licensing
7384

74-
Copyright 2025 SAP SE or an SAP affiliate company and ApeiroRA contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/apeirora/audit-log-poc-for-otel).
85+
Copyright 2025 SAP SE or an SAP affiliate company and ApeiroRA contributors. Please see our [LICENSE](LICENSE) for copyright and license
86+
information. Detailed information including third-party components and their licensing/copyright information is available
87+
[via the REUSE tool](https://api.reuse.software/info/github.com/apeirora/audit-log-poc-for-otel).

acd.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
3. [BUSINESS CASE](#3-business-case)
88
4. [ARCHITECTURE OVERVIEW](#4-architecture-overview)
99
- 4.1 [System Components](#41-system-components)
10-
- 4.2 [Data Flow](#42-data-flow)
1110
- 4.3 [Architecture Diagram](#43-architecture-diagram)
1211
5. [ARCHITECTURE DECISIONS](#5-architecture-decisions)
1312
6. [OPEN POINTS](#6-open-points)
@@ -19,19 +18,27 @@
1918

2019
## 1. EXECUTIVE SUMMARY
2120

22-
This Architectural Concept Document (ACD) presents a Proof of Concept (POC) for implementing OpenTelemetry (Otel) SDK’s logging features in a distributed architecture. The POC centers on a Recommendation Service generating log data, which traverses several processing layers en route to Audit Log Services V3. The objective is to test logging message integrity, identify data loss points, and optimize telemetry flows for robust observability.
21+
This Architectural Concept Document (ACD) presents a Proof of Concept (POC) for implementing OpenTelemetry (Otel) SDK’s logging features in
22+
a distributed architecture. The POC centers on a Recommendation Service generating log data, which traverses several processing layers en
23+
route to Audit Log Services V3. The objective is to test logging message integrity, identify data loss points, and optimize telemetry flows
24+
for robust observability.
2325

2426
---
2527

2628
## 2. INTRODUCTION
2729

28-
This document details a technical blueprint for leveraging OpenTelemetry’s logging SDK within a cloud-native architecture. The focus is to assess potential logging message loss and performance bottlenecks, primarily within the Recommendation Service and its downstream audit log pipeline.
30+
This document details a technical blueprint for leveraging OpenTelemetry’s logging SDK within a cloud-native architecture. The focus is to
31+
assess potential logging message loss and performance bottlenecks, primarily within the Recommendation Service and its downstream audit log
32+
pipeline.
2933

3034
---
3135

3236
## 3. BUSINESS CASE
3337

34-
Ensuring audit logs are reliably captured and transmitted is critical for compliance, troubleshooting, and operational visibility. The adoption of OpenTelemetry promises unified observability but raises questions regarding potential data loss and reliability, particularly when logs traverse complex or unreliable network paths. This POC provides a structured method to evaluate, optimize, and ultimately standardize audit logging practices.
38+
Ensuring audit logs are reliably captured and transmitted is critical for compliance, troubleshooting, and operational visibility. The
39+
adoption of OpenTelemetry promises unified observability but raises questions regarding potential data loss and reliability, particularly
40+
when logs traverse complex or unreliable network paths. This POC provides a structured method to evaluate, optimize, and ultimately
41+
standardize audit logging practices.
3542

3643
---
3744

@@ -49,44 +56,37 @@ Ensuring audit logs are reliably captured and transmitted is critical for compli
4956

5057
### 4.3 Architecture Diagram
5158

52-
lucid chart link : https://lucid.app/lucidchart/7a9fa1de-2640-4a2d-a038-0f7284a0800f/edit?page=p92ebrH0iSU9r&invitationId=inv_812faa02-bebb-4df2-aec3-882d5b027543#
59+
lucid chart link :
60+
<https://lucid.app/lucidchart/7a9fa1de-2640-4a2d-a038-0f7284a0800f/edit?page=p92ebrH0iSU9r&invitationId=inv_812faa02-bebb-4df2-aec3-882d5b027543#>
5361

5462
## 5. ARCHITECTURE DECISIONS
5563

56-
Use OpenTelemetry SDK within application code for cross-vendor and standardized telemetry generation.
57-
Externalize processing to Otel Collector for operational flexibility without code deployment.
58-
Employ processors (filtering, batching) for scaling and compliance with remote API limits.
59-
Decouple network transmission from application code, handing over all egress responsibilities to Otel Collector.
60-
Instrument with checkpoints and monitoring at each component boundary for reliability assessment.
61-
Select AuditLog Services V3 Exporter due to organizational integration requirements.
64+
Use OpenTelemetry SDK within application code for cross-vendor and standardized telemetry generation. Externalize processing to Otel
65+
Collector for operational flexibility without code deployment. Employ processors (filtering, batching) for scaling and compliance with
66+
remote API limits. Decouple network transmission from application code, handing over all egress responsibilities to Otel Collector.
67+
Instrument with checkpoints and monitoring at each component boundary for reliability assessment. Select AuditLog Services V3 Exporter due
68+
to organizational integration requirements.
6269

6370
## 6. OPEN POINTS
6471

65-
Otel SDK & Collector Version Compatibility: Need to validate if all required features and data formats are supported.
66-
API Rate Limits & Back-pressure: How will surges and API slowdowns/throttling be gracefully handled?
67-
Data Privacy & Security: Ensure logging data is sanitized/encrypted as required before egress.
68-
Collector Failure Modes: What happens to logs if Otel Collector crashes or network partition occurs?
69-
Lossy Operations in Processors: Need clear bounds on filtering/batching impacts to log completeness.
72+
Otel SDK & Collector Version Compatibility: Need to validate if all required features and data formats are supported. API Rate Limits &
73+
Back-pressure: How will surges and API slowdowns/throttling be gracefully handled? Data Privacy & Security: Ensure logging data is
74+
sanitized/encrypted as required before egress. Collector Failure Modes: What happens to logs if Otel Collector crashes or network partition
75+
occurs? Lossy Operations in Processors: Need clear bounds on filtering/batching impacts to log completeness.
7076

7177
## 7. CONCLUSION AND NEXT STEPS
7278

7379
This POC will validate the comprehensive logging flow’s reliability and highlight improvements for audit log delivery. Next steps include:
7480

75-
Building and deploying test harnesses for each stage.
76-
Executing validation and stress tests.
77-
Analyzing end-to-end message integrity/loss metrics.
78-
Tuning collector/processors for optimal throughput and minimal loss.
79-
Compiling a findings and recommendations report for broader system rollout.
81+
Building and deploying test harnesses for each stage. Executing validation and stress tests. Analyzing end-to-end message integrity/loss
82+
metrics. Tuning collector/processors for optimal throughput and minimal loss. Compiling a findings and recommendations report for broader
83+
system rollout.
8084

8185
## 8. DECISION PROTOCOL
8286

83-
Decisions Tracked: All key design changes/choices documented in versioned change log.
84-
Review Frequency: Weekly checkpoints during POC, rolling up to steering committee.
87+
Decisions Tracked: All key design changes/choices documented in versioned change log. Review Frequency: Weekly checkpoints during POC,
88+
rolling up to steering committee.
8589

8690
## 9. APPENDIX
8791

88-
References to OpenTelemetry documentation
89-
Diagrams (link/attachments)
90-
API schemas and configs
91-
Example log events
92-
Test plans and scripts
92+
References to OpenTelemetry documentation Diagrams (link/attachments) API schemas and configs Example log events Test plans and scripts

0 commit comments

Comments
 (0)