Use the Code Config tool
When adding or editing a supported entity, click the Code Config tab to view code representations. The displayed code also responds to changes you make in the Visual Editor tab. When you modify an entity’s properties in the Visual Editor tab, click the Code Config tab to immediately see the updated code representations. Changes you make in the Visual Editor tab don’t take effect until you click Save or apply the code representations using their corresponding tools.- Sign in to Observability Platform.
- Navigate to the section of Observability Platform where you want to make changes.
- Select an existing entity, or create a new one.
- Click the Code config tab or menu link. Code config is typically available in edit screens.
-
Select the code type:
- Terraform
- Chronoctl
- API
- To view a diff of unsaved changes you’ve made in the Visual Editor tab, click View Diff. This button is available only if you’ve changed the monitor in the Visual Editor tab but haven’t saved your changes. This Git-style diff replaces the Copy and Download buttons with a toggle between Unified and Split diff styles, and the View Diff button with a Hide Diff button that returns you to the code representation view. You can also view unchanged lines in the context of the diff by clicking Expand X lines inside the diff.
- Click Copy to copy the file, or Download to download the file to your computer.
-
Apply the changes.
- Chronoctl
- Terraform
- API
- Add the definition to a
.yamlfile. - Use
chronoctl applyto apply the changes.

