Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/250641

Change subject: jmxtrans: auto-fixed indentation of =>
......................................................................

jmxtrans: auto-fixed indentation of =>

On this one i did not fix it manually but
actually used the --fix option of puppet-lint
to let it attempt to auto-fix it.

Change-Id: Ib443f9db5bdfc424f3339b4726141dce92dde55a
---
M manifests/metrics/jvm.pp
1 file changed, 28 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/jmxtrans 
refs/changes/41/250641/1

diff --git a/manifests/metrics/jvm.pp b/manifests/metrics/jvm.pp
index 75a208d..6461a32 100644
--- a/manifests/metrics/jvm.pp
+++ b/manifests/metrics/jvm.pp
@@ -35,8 +35,10 @@
                 'name'        => 'java.lang:type=Memory',
                 'resultAlias' => 'memory',
                 'attrs'       => {
-                    'HeapMemoryUsage'    => {'units' => 'bytes', 'slope' => 
'both'},
-                    'NonHeapMemoryUsage' => {'units' => 'bytes', 'slope' => 
'both'},
+                    'HeapMemoryUsage'    => {'units'                    => 
'bytes',
+{'slope'                    => 'both'},
+                    'NonHeapMemoryUsage' => {'units'                    => 
'bytes',
+{'slope'                    => 'both'},
                 }
             },
             # Parallel GC
@@ -44,16 +46,20 @@
                 'name'        => 'java.lang:name=PS 
Scavenge,type=GarbageCollector',
                 'resultAlias' => 'garbage_collector_incremental',
                 'attrs'       => {
-                    'CollectionCount' => {'units' => 'GCs', 'slope' => 'both'},
-                    'CollectionTime'  => {'units' => 'milliseconds', 'slope' 
=> 'positive'},
+                    'CollectionCount' => {'units'                    => 'GCs',
+{'slope'                    => 'both'},
+                    'CollectionTime'  => {'units'                    => 
'milliseconds',
+{'slope'                    => 'positive'},
                 }
             },
             {
                 'name'        => 'java.lang:name=PS 
MarkSweep,type=GarbageCollector',
                 'resultAlias' => 'garbage_collector_full',
                 'attrs'       => {
-                    'CollectionCount' => {'units' => 'GCs', 'slope' => 'both'},
-                    'CollectionTime'  => {'units' => 'milliseconds', 'slope' 
=> 'positive'},
+                    'CollectionCount' => {'units'                    => 'GCs',
+{'slope'                    => 'both'},
+                    'CollectionTime'  => {'units'                    => 
'milliseconds',
+{'slope'                    => 'positive'},
                 }
             },
             # CMS GC
@@ -61,16 +67,20 @@
                 'name'        => 'java.lang:name=ParNew,type=GarbageCollector',
                 'resultAlias' => 'garbage_collector_incremental',
                 'attrs'       => {
-                    'CollectionCount' => {'units' => 'GCs', 'slope' => 'both'},
-                    'CollectionTime'  => {'units' => 'milliseconds', 'slope' 
=> 'positive'},
+                    'CollectionCount' => {'units'                    => 'GCs',
+{'slope'                    => 'both'},
+                    'CollectionTime'  => {'units'                    => 
'milliseconds',
+{'slope'                    => 'positive'},
                 }
             },
             {
                 'name'        => 
'java.lang:name=ConcurrentMarkSweep,type=GarbageCollector',
                 'resultAlias' => 'garbage_collector_full',
                 'attrs'       => {
-                    'CollectionCount' => {'units' => 'GCs', 'slope' => 'both'},
-                    'CollectionTime'  => {'units' => 'milliseconds', 'slope' 
=> 'positive'},
+                    'CollectionCount' => {'units'                    => 'GCs',
+{'slope'                    => 'both'},
+                    'CollectionTime'  => {'units'                    => 
'milliseconds',
+{'slope'                    => 'positive'},
                 }
             },
             # These only show up for Java 7
@@ -78,16 +88,20 @@
                 'name'        => 'java.nio:name=mapped,type=BufferPool',
                 'resultAlias' => 'buffer_pool_mapped',
                 'attrs'       => {
-                    'MemoryUsed' => {'units' => 'bytes', 'slope' => 'both'},
-                    'Count'      => {'units' => 'buffers', 'slope' => 'both'},
+                    'MemoryUsed' => {'units'                    => 'bytes',
+{'slope'                    => 'both'},
+                    'Count'      => {'units'                    => 'buffers',
+{'slope'                    => 'both'},
                 }
             },
             {
                 'name'        => 'java.nio:name=direct,type=BufferPool',
                 'resultAlias' => 'buffer_pool_direct',
                 'attrs'       => {
-                    'MemoryUsed' => {'units' => 'bytes', 'slope' => 'both'},
-                    'Count'      => {'units' => 'buffers', 'slope' => 'both'},
+                    'MemoryUsed' => {'units'                    => 'bytes',
+{'slope'                    => 'both'},
+                    'Count'      => {'units'                    => 'buffers',
+{'slope'                    => 'both'},
                 }
             }
         ]

-- 
To view, visit https://gerrit.wikimedia.org/r/250641
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib443f9db5bdfc424f3339b4726141dce92dde55a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/jmxtrans
Gerrit-Branch: master
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to