File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -485,14 +485,14 @@ describe('servers', () => {
485485
486486 const dataflowDoc = parseYamlDocument ( dataflowApplicationYaml ) ;
487487 const dataflowJson = dataflowDoc . toJSON ( ) ;
488- const enabled1 = lodash . get ( dataflowJson , 'management.metrics.export.prometheus .enabled' ) as boolean ;
488+ const enabled1 = lodash . get ( dataflowJson , 'management.prometheus. metrics.export.enabled' ) as boolean ;
489489 expect ( enabled1 ) . toBeTrue ( ) ;
490490 const url = lodash . get ( dataflowJson , 'spring.cloud.dataflow.metrics.dashboard.url' ) as string ;
491491 expect ( url ) . toBeFalsy ( ) ;
492492
493493 const skipperDoc = parseYamlDocument ( skipperApplicationYaml ) ;
494494 const skipperJson = skipperDoc . toJSON ( ) ;
495- const enabled2 = lodash . get ( skipperJson , 'management.metrics.export.prometheus .enabled' ) as boolean ;
495+ const enabled2 = lodash . get ( skipperJson , 'management.prometheus. metrics.export.enabled' ) as boolean ;
496496 expect ( enabled2 ) . toBeTrue ( ) ;
497497 } ) ;
498498
Original file line number Diff line number Diff line change 22function set_properties() {
33 PREFIX=$1
44 yq " ${PREFIX} .micrometer.prometheus.rsocket.host=\" $HOST \" " -i ./scdf-values.yml
5- yq " ${PREFIX} .management.metrics.export.prometheus .pushgateway.base-url=\" http://$HOST :$PORT \" " -i ./scdf-values.yml
6- yq " ${PREFIX} .management.metrics.export.prometheus .pushgateway.enabled=true" -i ./scdf-values.yml
7- yq " ${PREFIX} .management.metrics.export.prometheus .pushgateway.shutdown-operation=\" PUSH\" " -i ./scdf-values.yml
8- yq " ${PREFIX} .management.metrics.export.prometheus .step=\" $STEP \" " -i ./scdf-values.yml
5+ yq " ${PREFIX} .management.prometheus. metrics.export.pushgateway.base-url=\" http://$HOST :$PORT \" " -i ./scdf-values.yml
6+ yq " ${PREFIX} .management.prometheus. metrics.export.pushgateway.enabled=true" -i ./scdf-values.yml
7+ yq " ${PREFIX} .management.prometheus. metrics.export.pushgateway.shutdown-operation=\" PUSH\" " -i ./scdf-values.yml
8+ yq " ${PREFIX} .management.prometheus. metrics.export.step=\" $STEP \" " -i ./scdf-values.yml
99}
1010if [ " $2 " = " " ]; then
1111 echo " Usage is: <host> <port> [step]"
You can’t perform that action at this time.
0 commit comments