languagedetection

package
v0.9.1-0...-9c46226 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package languagedetection implements the language detection patcher. The patcher is a component of the language detection feature that is responsible for patching pod owner resources (such as deployments, statefulsets, daemonsets, etc.) with language annotations based on languages detected by the process agent.

The language detection patcher subscribes to workloadmeta events. When it receives a notification from workloadmeta it does the following:

  • Reads the entity data contained in the event
  • Extracts the `detected_languages` and `injectable_languages` from the entity data
  • Constructs the annotations patch
  • Patches the owner resource with language annotations (i.e. deployment, statefulset, etc.)

For more information about the language detection and library injection feature, refer to this document.

Jump to

Keyboard shortcuts

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