Spelling python plugin (#10525)
Josh Soref committed
Jan 19, 2021 at 12:54 UTC
7772552ec74d70036cd32d53525bff2a56f2a9d4
12 files changed
+18
-18
collectors/python.d.plugin/am2320/am2320.conf
+1
-1
@@ -1,4 +1,4 @@
1
-# netdata python.d.plugin configuration for am2320 temperture/humity sensor
1
+# netdata python.d.plugin configuration for am2320 temperature/humidity sensor
2
#
3
# This file is in YaML format. Generally the format is:
4
#
collectors/python.d.plugin/anomalies/anomalies.chart.py
+1
-1
@@ -117,7 +117,7 @@ class Service(SimpleService):
117
self.model_display_names = {model: model.split('::')[1] if '::' in model else model for model in self.models_in_scope}
118
119
def model_params_init(self):
120
- """Model paramaters initialisation.
120
+ """Model parameters initialisation.
121
"""
122
self.train_max_n = self.configuration.get('train_max_n', 100000)
123
self.train_n_secs = self.configuration.get('train_n_secs', 14400)
collectors/python.d.plugin/anomalies/anomalies.conf
+2
-2
@@ -92,7 +92,7 @@ local:
92
diffs_n: 1
93
94
# What is the typical proportion of anomalies in your data on average?
95
- # This paramater can control the sensitivity of your models to anomalies.
95
+ # This parameter can control the sensitivity of your models to anomalies.
96
# Some discussion here: https://github.com/yzhao062/pyod/issues/144
97
contamination: 0.001
98
@@ -100,7 +100,7 @@ local:
100
# just the average of all anomaly probabilities at each time step
101
include_average_prob: true
102
103
- # Define any custom models you would like to create anomaly probabilties for, some examples below to show how.
103
+ # Define any custom models you would like to create anomaly probabilities for, some examples below to show how.
104
# For example below example creates two custom models, one to run anomaly detection user and system cpu for our demo servers
105
# and one on the cpu and mem apps metrics for the python.d.plugin.
106
# custom_models:
collectors/python.d.plugin/elasticsearch/elasticsearch.chart.py
+3
-3
@@ -245,7 +245,7 @@ CHARTS = {
245
'elastic.index_translog_operations', 'area'],
246
'lines': [
247
['indices_translog_operations', 'total', 'absolute'],
248
- ['indices_translog_uncommitted_operations', 'uncommited', 'absolute']
248
+ ['indices_translog_uncommitted_operations', 'uncommitted', 'absolute']
249
]
250
},
251
'index_translog_size': {
@@ -253,7 +253,7 @@ CHARTS = {
253
'elastic.index_translog_size', 'area'],
254
'lines': [
255
['indices_translog_size_in_bytes', 'total', 'absolute', 1, 1048567],
256
- ['indices_translog_uncommitted_size_in_bytes', 'uncommited', 'absolute', 1, 1048567]
256
+ ['indices_translog_uncommitted_size_in_bytes', 'uncommitted', 'absolute', 1, 1048567]
257
]
258
},
259
'index_segments_count': {
@@ -295,7 +295,7 @@ CHARTS = {
295
'options': [None, 'JVM Heap Commit And Usage', 'MiB', 'memory usage and gc',
296
'elastic.jvm_heap_bytes', 'area'],
297
'lines': [
298
- ['jvm_mem_heap_committed_in_bytes', 'commited', 'absolute', 1, 1048576],
298
+ ['jvm_mem_heap_committed_in_bytes', 'committed', 'absolute', 1, 1048576],
299
['jvm_mem_heap_used_in_bytes', 'used', 'absolute', 1, 1048576]
300
]
301
},
collectors/python.d.plugin/litespeed/litespeed.chart.py
+1
-1
@@ -1,6 +1,6 @@
1
# -*- coding: utf-8 -*-
2
# Description: litespeed netdata python.d module
3
-# Author: Ilya Maschenko (ilyam8)
3
+# Author: Ilya Mashchenko (ilyam8)
4
# SPDX-License-Identifier: GPL-3.0-or-later
5
6
import glob
collectors/python.d.plugin/openldap/openldap.chart.py
+1
-1
@@ -50,7 +50,7 @@ CHARTS = {
50
]
51
},
52
'referrals_sent': {
53
- 'options': [None, 'Referrals', 'referals/s', 'ldap', 'openldap.referrals', 'line'],
53
+ 'options': [None, 'Referrals', 'referrals/s', 'ldap', 'openldap.referrals', 'line'],
54
'lines': [
55
['referrals_sent', 'sent', 'incremental']
56
]
collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py
+1
-1
@@ -71,7 +71,7 @@ class Service(SimpleService):
71
break
72
if found:
73
return True
74
- self.error('Failed to parse ovpenvpn log file')
74
+ self.error('Failed to parse openvpn log file')
75
return False
76
77
def _get_raw_data(self):
collectors/python.d.plugin/proxysql/proxysql.chart.py
+1
-1
@@ -290,7 +290,7 @@ class Service(MySQLService):
290
@staticmethod
291
def histogram_chart(cmd):
292
return [
293
- 'commands_historgram_' + cmd['name'],
293
+ 'commands_histogram_' + cmd['name'],
294
None,
295
'ProxySQL {0} Command Histogram'.format(cmd['name'].title()),
296
'commands',
collectors/python.d.plugin/puppet/puppet.chart.py
+1
-1
@@ -81,7 +81,7 @@ class Service(UrlService):
81
# NOTE: there are several ways to retrieve data
82
# 1. Only PE versions:
83
# https://puppet.com/docs/pe/2018.1/api_status/status_api_metrics_endpoints.html
84
- # 2. Inidividual Metrics API (JMX):
84
+ # 2. Individual Metrics API (JMX):
85
# https://puppet.com/docs/pe/2018.1/api_status/metrics_api.html
86
# 3. Extended status at debug level:
87
# https://puppet.com/docs/pe/2018.1/api_status/status_api_json_endpoints.html
collectors/python.d.plugin/springboot/springboot.chart.py
+1
-1
@@ -92,7 +92,7 @@ class Service(UrlService):
92
try:
93
data = json.loads(raw_data)
94
except ValueError:
95
- self.debug('%s is not a vaild JSON page' % self.url)
95
+ self.debug('%s is not a valid JSON page' % self.url)
96
return None
97
98
result = {
collectors/python.d.plugin/springboot/springboot.conf
+4
-4
@@ -75,7 +75,7 @@
75
#
76
# Configuration example
77
# ---------------------
78
-# expample:
78
+# example:
79
# name: 'example'
80
# url: 'http://localhost:8080/metrics'
81
# defaults:
@@ -96,17 +96,17 @@
96
# options: { title: 'Eden Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_eden', charttype: 'area' }
97
# lines:
98
# - { dimension: 'mempool_eden_used', name: 'used'}
99
-# - { dimension: 'mempool_eden_committed', name: 'commited'}
99
+# - { dimension: 'mempool_eden_committed', name: 'committed'}
100
# - id: 'heap_survivor'
101
# options: { title: 'Survivor Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_survivor', charttype: 'area' }
102
# lines:
103
# - { dimension: 'mempool_survivor_used', name: 'used'}
104
-# - { dimension: 'mempool_survivor_committed', name: 'commited'}
104
+# - { dimension: 'mempool_survivor_committed', name: 'committed'}
105
# - id: 'heap_tenured'
106
# options: { title: 'Tenured Memory Usage', units: 'KB', family: 'heap memory', context: 'springboot.heap_tenured', charttype: 'area' }
107
# lines:
108
# - { dimension: 'mempool_tenured_used', name: 'used'}
109
-# - { dimension: 'mempool_tenured_committed', name: 'commited'}
109
+# - { dimension: 'mempool_tenured_committed', name: 'committed'}
110
111
112
local:
collectors/python.d.plugin/varnish/varnish.chart.py
+1
-1
@@ -103,7 +103,7 @@ CHARTS = {
103
['backend_unhealthy', 'unhealthy', 'incremental'],
104
['backend_reuse', 'reused', 'incremental'],
105
['backend_toolate', 'closed', 'incremental'],
106
- ['backend_recycle', 'resycled', 'incremental'],
106
+ ['backend_recycle', 'recycled', 'incremental'],
107
['backend_fail', 'failed', 'incremental']
108
]
109
},