rsyslog/plugins/omotel/AGENTS.md
Andre Lorbach c9f56709a7 Refactor: rename omotlp module to omotel
Rename the OpenTelemetry output module from "omotlp" to "omotel" across
the entire codebase. This includes directory, file, function, type, and
constant names, as well as build system configuration, documentation,
and test files.

Changes:
- Directory: plugins/omotlp/ → plugins/omotel/
- Source files: omotlp.c → omotel.c, omotlp_http.c → omotel_http.c,
  omotlp_http.h → omotel_http.h
- Code: all function names, types, constants (OMOTLP_* → OMOTEL_*)
- Build: configure.ac (--enable-omotlp → --enable-omotel,
  OMOTLP_HTTP_* → OMOTEL_HTTP_*), Makefile.am files
- Docs: omotlp.rst → omotel.rst, all examples updated
- Tests: omotlp-*.sh → omotel-*.sh, content updated
- Tasks: omotlp_*.md → omotel_*.md
- Config: module_map.yaml, AGENTS.md

Impact:
- Module name in rsyslog.conf: "omotlp" → "omotel"
- Build flag: --enable-omotlp → --enable-omotel
- No functional changes, pure refactoring

closes: https://github.com/rsyslog/rsyslog/issues/6361
2025-12-17 10:50:06 +01:00

542 B
Raw Blame History

AGENTS.md omotel output module

These instructions apply to files inside plugins/omotel/.

Development notes

  • Keep the module pure C unless the optional gRPC shim is enabled.
  • Update MODULE_METADATA.yaml and the user documentation when adding new configuration parameters or behavioral changes.
  • Refresh the concurrency note in omotel.c if locking expectations change.
  • Run devtools/format-code.sh before committing.

Testing

  • Run tests/omotel-http-batch.sh to exercise the HTTP batching, gzip, and retry path.