Chronosphere Observability Platform lets users programmatically update many facets
of platform configuration using code tools like Chronoctl,
Terraform, and the
Observability Platform API.Entities modified by Terraform and Chronoctl are viewable in Observability Platform,
but can’t be modified. Use the Code Config tool to review these entities and
understand working examples. You can copy and modify existing entities instead
of writing new configurations, which helps developers onboard faster and lets them
integrate changes into their existing
GitOps workflows.This tool is available for create, read, update, and delete (CRUD) operations
for the following entities, and other supported entities:
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.