What possible values does the metric syncthing_model_folder_state take? It is always 0. I tried set “Pause”, I tried remove files for “Local Addition” state.
You could say so, those are unfortunately not folder states as far as this code is concerned. You can get the paused state in a label on syncthing_config_folder_info though (because it is a config value). I’m not sure if local additions are exposed.