diff --git a/example/autodeploy/all-components.yaml b/example/autodeploy/all-components.yaml index d3ff342777a41f23f23bb0d955451698f7e72650..270cf60b6b537a23bf1a63ac06829a0252999da6 100644 --- a/example/autodeploy/all-components.yaml +++ b/example/autodeploy/all-components.yaml @@ -178,6 +178,8 @@ obagent: prometheus: servers: - 192.168.1.5 + depends: + - obagent global: # The working directory for prometheus. prometheus is started under this directory. This is a required field. home_path: /root/prometheus diff --git a/example/autodeploy/default-example.yaml b/example/autodeploy/default-example.yaml index 8c8aecb04007df5123737b4fc4255ff80bd413bb..fe925968f998815b3ce07a3bb4357f445f57c619 100644 --- a/example/autodeploy/default-example.yaml +++ b/example/autodeploy/default-example.yaml @@ -158,6 +158,8 @@ obagent: prometheus: servers: - 172.19.33.5 + depends: + - obagent global: # The working directory for prometheus. prometheus is started under this directory. This is a required field. home_path: /root/prometheus