monitoring

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

Monitoring

reference go report Coverage Status
License CI CodeQL
OpenSSF Scoreboard

The Monitoring component is in charge of the collection, process and storage of various signals (i.e. logs, metrics and distributed traces). It is extensively based upon OpenTelemetry, with its Collector.

[!CAUTION]

This component is an internal work mostly used for development purposes. It is used for production purposes too, i.e. on Capture The Flag events.

Nonetheless, we do not include it in the repositories we are actively maintaining.

Architecture

The Monitoring service's architecture currently provides:

The multiple parts passes information in a non-cyclic way to avoid deadlocks (DAG or dependencies), as summarized in the following diagram.

The architecture of the Monitoring service and its parts

Cold Extract

For research and/or development purposes, the architecture provide way to perform an extraction of the OpenTelemetry data.

  1. Activate cold extract:
pulumi config set cold-extract true
  1. Use the Monitoring through the OTEL Collector endpoint.

  2. Run the extractor:

mkdir extract
go run cmd/extractor/main.go \
  --namespace $(pulumi stack export namespace) \
  --pvc-name $(pulumi stack export otel-cold-extract-pvc-name) \
  --directory extract

TODO list

  • Add Grafana (require Prometheus)
  • Add AlertManager (require Prometheus)
  • Think of Dashboard as Code, and if it is relevant to extract them (so technically how ? With Docker manifests inspection ? Service discovery and custom protocol ?) automatically ?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
extractor command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL