SLO converter is a command line interface that converts YAML, adhering to the Figure SLO Schema, to HCL.
When using the SLO yaml templates, you will notice an attribute named 'resources' under the SLI definiton. Depending on which metric you define in the SLI, that will determine which available resources specific to your service can be listed. In order to obtain a list of available resources per metric, you will need to run the "service-resource-generator.sh" script located in the root of this repo. To run the script, you will need to include the FD name and the environment as command line arguments:
`chmod u+x service-resource-generator.sh`
`./service-resource-generator.sh [app_name] [environment]`
Before running this script, please be sure you have Datadog Application and API keys generated. If you do not have these keys generated, please do so in the datadog organization settings (admin accessed may be required). https://app.datadoghq.com/organization-settings/api-keys https://app.datadoghq.com/organization-settings/application-keys
placeholder
https://docs.datadoghq.com/monitors/servicelevelobjectives/ https://www.datadoghq.com/blog/slo-monitoring-tracking/ https://www.datadoghq.com/blog/define-and-manage-slos/