HUB
Sign inSign up

nayem7663/sentinel-jvm-profiler

By nayem7663

•Updated about 1 month ago

Sentinel JVM node agent: continuous profiling and Dynamic Instrumentation for JVM pods

Image
0

369

nayem7663/sentinel-jvm-profiler repository overview

⁠Sentinel agents

The images and Helm charts that run Sentinel's agents in your infrastructure, and the source they are built from.

ArtefactPull fromFor
Collector chartoci://registry.gitlab.com/nayem.drmc/sentinel-agents/charts/sentinel-collectorLogs; host, container and Kubernetes metrics; eBPF service monitoring; profiling; Dynamic Instrumentation; cluster posture; Bits AI actions
Database agent chartoci://registry.gitlab.com/nayem.drmc/sentinel-agents/charts/sentinel-db-agentDatabase Monitoring, one release per set of databases
JVM node agentregistry.gitlab.com/nayem.drmc/sentinel-agents/jvm-profilerContinuous profiling and Dynamic Instrumentation for JVM pods (run by the collector chart)
Database agentregistry.gitlab.com/nayem.drmc/sentinel-agents/db-agentPostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, MongoDB and Redis
APM injectorregistry.gitlab.com/nayem.drmc/sentinel-agents/apm-injectOpenTelemetry traces from every Java, Node.js, Python and .NET pod with no code change (run by the collector chart, apmInject.enabled)
Host installerhttps://gitlab.com/api/v4/projects/nayem.drmc%2Fsentinel-agents/packages/generic/sentinel-host/<version>/install.shOne command for a Linux host: the collector, and with --apm traces from every Java, Node.js, Python and .NET service
Synthetics private locationregistry.gitlab.com/nayem.drmc/sentinel-agents/synthetics-agentSynthetic tests run from inside your own network (Docker or Kubernetes)

Every release's images are also on Docker Hub, the same image indexes byte for byte: docker.io/nayem7663/sentinel-jvm-profiler, docker.io/nayem7663/sentinel-db-agent, docker.io/nayem7663/sentinel-apm-inject and docker.io/nayem7663/sentinel-synthetics-agent. To have the charts pull from Docker Hub, set profiling.image.repository=docker.io/nayem7663/sentinel-jvm-profiler and apmInject.image.repository=docker.io/nayem7663/sentinel-apm-inject (collector) or image.repository=docker.io/nayem7663/sentinel-db-agent (database agent). The charts themselves are served from this project's OCI registry.

⁠Install

kubectl create namespace sentinel
kubectl -n sentinel create secret generic sentinel-ingest \
  --from-literal=api-key=snt_… --from-literal=config-key=snt_…
helm upgrade --install sentinel \
  oci://registry.gitlab.com/nayem.drmc/sentinel-agents/charts/sentinel-collector \
  --version 0.5.0 -n sentinel \
  --set clusterName=prod-eu \
  --set sentinel.endpoint=https://<your Sentinel ingest host>/otlp \
  --set sentinel.existingSecret=sentinel-ingest

Every value, and the database agent's setup, are in Sentinel's documentation: Ingest → Agents and libraries, Infrastructure → Connect a Kubernetes cluster and Databases and streams → Set up database and stream monitoring. A private location is created, with its install commands, in Sentinel under Digital experience → Private locations.

⁠What the images promise

  • Built for linux/amd64 and linux/arm64, each with an SBOM and build provenance, labelled with the commit they came from.
  • A trimmed Java runtime with only the modules each agent uses, on Ubuntu 24.04.
  • The database agent and the private location agent run as an unprivileged user with a read-only filesystem and need no access to the cluster's API. The private location agent only connects out (HTTPS to Sentinel, plus the services your tests check) and serves a health port.
  • The JVM node agent runs privileged with the node's process namespace (hostPID): attaching to a JVM in another container needs both. It runs only when profiling.enabled or debugger.enabled is set, and acts only on pods carrying its opt-in label.
  • Every third-party licence is inside the image, under /opt/sentinel/licenses.
  • Published versions never change. A fix is a new version.

⁠Release

Tag vX.Y.Z (only maintainers can: v* tags are protected). The pipeline checks both charts, builds and pushes every image, pushes the charts, mirrors the images to Docker Hub, then pulls everything back from both registries without credentials, checks it on both architectures, and confirms Docker Hub serves the same image indexes as GitLab. Versions come from the files that define them: the collector chart's profiling.image.tag, the database agent's DbAgent.VERSION (which must match clients/db-agent and the chart's appVersion), clients/synthetics-agent's version, and each chart's version. The private location image must pass --check (a real test against itself) on both architectures.

Application libraries are published to their language registries: sentinel-probes (npm and PyPI), sentinel/probes (Packagist), Sentinel.Probes (NuGet), io.github.muhibnayem:sentinel-probes-agent (Maven Central) and sentinel-rum (npm).

Licensed under the Apache License 2.0.

Tag summary
Recent tags
Content type
Image
Digest
sha256:93f6b1192…
Size
57.9 MB
Last updated
about 1 month ago
docker pull nayem7663/sentinel-jvm-profiler:0.2.0