/etc/stackstate-agent/conf.d/
. StackState Agent V2 runs as system user/group stackstate-agent
.mv /etc/stackstate-agent/conf.d/static_topology.d/conf.yaml.example /etc/stackstate-agent/conf.d/static_topology.d/conf.yaml
./etc/stackstate-agent/conf.d/static_topology.d/conf.yaml
to add details of the CSV files:id
- The component's unique identifier.name
- The component's name.type
- The component type. For example, VM, datastore or rack.domain
(Optional) - The StackState domain where the component should be visualized.layer
(Optional) - The StackState layer in where the component should be visualized.environment
(Optional) - The StackState environment in where the component should be visualized.sourceid
- The identifier of the component to create a relation from. This must match the component id
in the component CSV file.targetid
- The identifier of the component to create a relation to. This must identifier has to match the component id
in the component CSV file.type
- The type of a relation. For example, 'uses' or 'depends on'.conf.d/static_topology.d/conf.yaml
:type
- Set to csv
for parsing CSV typed filescomponents_file
- Absolute path to CSV file containing topology componentsrelations_file
- Absolute path to CSV file containing topology relationsdelimiter
- CSV field delimitertags
(Optional) - StackState labels to add to each component and relation read from the CSV files.