Skip to main content
There are two ways to add sources to the Odigos VM Agent: use odictl or use YAML files.
It is recommended to add a destination before adding a source.
Instrumenting a source restarts its underlying service or process. Regardless of whether you use odictl or YAML, the VM Agent restarts each service, process, or container when it applies instrumentation, so expect a brief interruption.The only exception is Go and Java processes running directly on the host (not in a container). These are instrumented in place and are not restarted.
1

Launch odictl

2

Open the Add Source menu

Use Tab to focus on the Sources pane or press o, then press Enter or click + Add Source with your mouse.Select Sources pane of the odictl interface
Once the source list opens, choose how you want to instrument. Select a single source to review and adjust its properties before instrumenting, or select multiple sources to instrument them all at once with default settings.
1

Search for and select a source

Click in the search bar at the top and type the name of the Linux process, and/or press Tab and scroll through the list of sources. Once your source is highlighted, press Enter.Select Source
2

Review properties and instrument

Review and adjust the properties if needed:
Instrument SourcePress Ctrl+S to save and instrument your source.
3

Verify instrumentation

Instrumentation can take a few moments to complete. Once it is applied, the source appears in the Sources list with a green Health status.Verify Instrumentation