OpenSLO / slogen

tool to create and manage content for reliability tracking from logs/event data.
Apache License 2.0
79 stars 6 forks source link

The tags are randomly ordered when slogen generates a tf file from a yaml #71

Open TrevorLi8 opened 3 months ago

TrevorLi8 commented 3 months ago

This is a known issue. When slogen generates a tf file from a yaml, it doesn’t convert the labels in the yaml file in the same order to the tags in the tf file, but in a random order, so the generated tf file is changed although the yaml file stays same.

When new users start creating SLOs using slogen, they are confused by the changes of the tf files.

We need to keep the tags in a tf file the same order as the labels in the corresponding yaml file.