Skip to content

Commit 64b0d8f

Browse files
authored
fix: Add unit to intervals attribute (#1003)
1 parent 5e00811 commit 64b0d8f

File tree

28 files changed

+55
-55
lines changed

28 files changed

+55
-55
lines changed

recipes/newrelic/infrastructure/ohi/apache/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ install:
118118
# versus remote entities:
119119
# https://github.com/newrelic/infra-integrations-sdk/blob/master/docs/entity-definition.md
120120
REMOTE_MONITORING: true
121-
interval: 15
121+
interval: 15s
122122
123123
- name: nri-apache
124124
env:
@@ -134,7 +134,7 @@ install:
134134
# https://github.com/newrelic/infra-integrations-sdk/blob/master/docs/entity-definition.md
135135
REMOTE_MONITORING: true
136136
inventory_source: config/apache
137-
interval: 60
137+
interval: 60s
138138
EOT
139139
140140
restart:

recipes/newrelic/infrastructure/ohi/apache/rhel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ install:
174174
# versus remote entities:
175175
# https://github.com/newrelic/infra-integrations-sdk/blob/master/docs/entity-definition.md
176176
REMOTE_MONITORING: true
177-
interval: 15
177+
interval: 15s
178178
179179
- name: nri-apache
180180
env:
@@ -190,7 +190,7 @@ install:
190190
# https://github.com/newrelic/infra-integrations-sdk/blob/master/docs/entity-definition.md
191191
REMOTE_MONITORING: true
192192
inventory_source: config/apache
193-
interval: 60
193+
interval: 60s
194194
195195
EOT
196196

recipes/newrelic/infrastructure/ohi/cassandra/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ install:
114114
USERNAME: {{.NR_CLI_DB_USERNAME}}
115115
PASSWORD: {{.NR_CLI_DB_PASSWORD}}
116116
REMOTE_MONITORING: true
117-
interval: 30
117+
interval: 30s
118118
- name: nri-cassandra
119119
env:
120120
INVENTORY: true
121121
HOSTNAME: {{.NR_CLI_DB_HOSTNAME}}
122122
CONFIG_PATH: /etc/cassandra/cassandra.yaml
123123
REMOTE_MONITORING: true
124124
inventory_source: config/cassandra
125-
interval: 60
125+
interval: 60s
126126
EOT
127127
128128
restart:

recipes/newrelic/infrastructure/ohi/cassandra/rhel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ install:
117117
USERNAME: {{.NR_CLI_DB_USERNAME}}
118118
PASSWORD: {{.NR_CLI_DB_PASSWORD}}
119119
REMOTE_MONITORING: true
120-
interval: 30
120+
interval: 30s
121121
- name: nri-cassandra
122122
env:
123123
INVENTORY: true
124124
HOSTNAME: {{.NR_CLI_DB_HOSTNAME}}
125125
CONFIG_PATH: /etc/cassandra/conf/cassandra.yaml
126126
REMOTE_MONITORING: true
127127
inventory_source: config/cassandra
128-
interval: 60
128+
interval: 60s
129129
EOT
130130
131131
restart:

recipes/newrelic/infrastructure/ohi/consul/debian.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ install:
107107
PORT: {{.NR_CLI_PORT}}
108108
ENABLE_SSL: {{.NR_CLI_ENABLE_SSL}}
109109
inventory_source: config/consul
110-
interval: 15
110+
interval: 15s
111111
EOT
112112
else
113113
sudo tee /etc/newrelic-infra/integrations.d/consul-config.yml > /dev/null <<"EOT"
@@ -121,7 +121,7 @@ install:
121121
CA_BUNDLE_DIR: {{.NR_CLI_BUNDLE_DIR}}
122122
CA_BUNDLE_FILE: {{.NR_CLI_FILE_DIR}}
123123
inventory_source: config/consul
124-
interval: 15
124+
interval: 15s
125125
EOT
126126
fi
127127
else
@@ -135,7 +135,7 @@ install:
135135
TOKEN: {{.NR_CLI_TOKEN}}
136136
ENABLE_SSL: {{.NR_CLI_ENABLE_SSL}}
137137
inventory_source: config/consul
138-
interval: 15
138+
interval: 15s
139139
EOT
140140
else
141141
sudo tee /etc/newrelic-infra/integrations.d/consul-config.yml > /dev/null <<"EOT"
@@ -150,7 +150,7 @@ install:
150150
CA_BUNDLE_DIR: {{.NR_CLI_BUNDLE_DIR}}
151151
CA_BUNDLE_FILE: {{.NR_CLI_FILE_DIR}}
152152
inventory_source: config/consul
153-
interval: 15
153+
interval: 15s
154154
EOT
155155
fi
156156
fi

recipes/newrelic/infrastructure/ohi/consul/rhel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ install:
107107
PORT: {{.NR_CLI_PORT}}
108108
ENABLE_SSL: {{.NR_CLI_ENABLE_SSL}}
109109
inventory_source: config/consul
110-
interval: 15
110+
interval: 15s
111111
EOT
112112
else
113113
sudo tee /etc/newrelic-infra/integrations.d/consul-config.yml > /dev/null <<"EOT"
@@ -121,7 +121,7 @@ install:
121121
CA_BUNDLE_DIR: {{.NR_CLI_BUNDLE_DIR}}
122122
CA_BUNDLE_FILE: {{.NR_CLI_FILE_DIR}}
123123
inventory_source: config/consul
124-
interval: 15
124+
interval: 15s
125125
EOT
126126
fi
127127
else
@@ -135,7 +135,7 @@ install:
135135
TOKEN: {{.NR_CLI_TOKEN}}
136136
ENABLE_SSL: {{.NR_CLI_ENABLE_SSL}}
137137
inventory_source: config/consul
138-
interval: 15
138+
interval: 15s
139139
EOT
140140
else
141141
sudo tee /etc/newrelic-infra/integrations.d/consul-config.yml > /dev/null <<"EOT"
@@ -150,7 +150,7 @@ install:
150150
CA_BUNDLE_DIR: {{.NR_CLI_BUNDLE_DIR}}
151151
CA_BUNDLE_FILE: {{.NR_CLI_FILE_DIR}}
152152
inventory_source: config/consul
153-
interval: 15
153+
interval: 15s
154154
EOT
155155
fi
156156
fi

recipes/newrelic/infrastructure/ohi/couchbase/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ install:
114114
PASSWORD: {{.NR_CLI_DB_PASSWORD}}
115115
USE_SSL: {{.NR_CLI_API_USE_SSL}}
116116
inventory_source: config/couchbase
117-
interval: 15
117+
interval: 15s
118118
EOT
119119
else
120120
sudo tee -a /etc/newrelic-infra/integrations.d/couchbase-config.yml > /dev/null <<"EOT"
@@ -130,7 +130,7 @@ install:
130130
CA_BUNDLE_DIR: {{.NR_CLI_API_CA_BUNDLE_DIR}}
131131
CA_BUNDLE_FILE: {{.NR_CLI_API_CA_BUNDLE_FILE}}
132132
inventory_source: config/couchbase
133-
interval: 15
133+
interval: 15s
134134
EOT
135135
fi
136136

recipes/newrelic/infrastructure/ohi/couchbase/rhel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ install:
118118
PASSWORD: {{.NR_CLI_DB_PASSWORD}}
119119
USE_SSL: {{.NR_CLI_API_USE_SSL}}
120120
inventory_source: config/couchbase
121-
interval: 15
121+
interval: 15s
122122
EOT
123123
else
124124
sudo tee -a /etc/newrelic-infra/integrations.d/couchbase-config.yml > /dev/null <<"EOT"
@@ -134,7 +134,7 @@ install:
134134
CA_BUNDLE_DIR: {{.NR_CLI_API_CA_BUNDLE_DIR}}
135135
CA_BUNDLE_FILE: {{.NR_CLI_API_CA_BUNDLE_FILE}}
136136
inventory_source: config/couchbase
137-
interval: 15
137+
interval: 15s
138138
EOT
139139
fi
140140

recipes/newrelic/infrastructure/ohi/elasticsearch/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ install:
138138
COLLECT_INDICES: true
139139
COLLECT_PRIMARIES: true
140140
inventory_source: config/elasticsearch
141-
interval: 15
141+
interval: 15s
142142
EOT
143143
else
144144
sudo tee -a /etc/newrelic-infra/integrations.d/elasticsearch-config.yml > /dev/null <<"EOT"
@@ -158,7 +158,7 @@ install:
158158
COLLECT_INDICES: true
159159
COLLECT_PRIMARIES: true
160160
inventory_source: config/elasticsearch
161-
interval: 15
161+
interval: 15s
162162
EOT
163163
fi
164164

recipes/newrelic/infrastructure/ohi/elasticsearch/rhel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ install:
140140
COLLECT_INDICES: true
141141
COLLECT_PRIMARIES: true
142142
inventory_source: config/elasticsearch
143-
interval: 15
143+
interval: 15s
144144
EOT
145145
else
146146
sudo tee -a /etc/newrelic-infra/integrations.d/elasticsearch-config.yml > /dev/null <<"EOT"
@@ -160,7 +160,7 @@ install:
160160
COLLECT_INDICES: true
161161
COLLECT_PRIMARIES: true
162162
inventory_source: config/elasticsearch
163-
interval: 15
163+
interval: 15s
164164
EOT
165165
fi
166166

0 commit comments

Comments
 (0)