diff --git a/client/.idea/deploymentTargetDropDown.xml b/client/.idea/deploymentTargetDropDown.xml index 8731337..bf3ae45 100644 --- a/client/.idea/deploymentTargetDropDown.xml +++ b/client/.idea/deploymentTargetDropDown.xml @@ -1,17 +1,17 @@ - + - + - - + + - - + + \ No newline at end of file diff --git a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/Configuration.kt b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/Configuration.kt index 4803881..5d226f6 100644 --- a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/Configuration.kt +++ b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/compose/Configuration.kt @@ -21,9 +21,9 @@ private const val defaultRemoteWriteExportInterval: Int = 120 // seconds // serialization classes for parsing YAML configuration file @Serializable data class PromConfigFile( - val prometheus_server: PromServerConfigFile?, - val pushprox: PushProxConfigFile?, - val remote_write: RemoteWriteConfigFile?, + val prometheus_server: PromServerConfigFile? = null, + val pushprox: PushProxConfigFile? = null, + val remote_write: RemoteWriteConfigFile? = null, ) { fun toPromConfiguration(): PromConfiguration { return PromConfiguration(