Skip to content

Commit

Permalink
[change] Added the name of the metric to the label openwisp#311
Browse files Browse the repository at this point in the history
Previously the signal charts didn't have a metric name so the following changes were made.
Signal Strength -> Signal Strength (RSSI)
Signal Power -> Signal Power (RSRP)
Signal Quality -> Signal Quality (RSRQ)
Signal to Noise Ratio -> Signal to Noise Ratio (SNR)

Fixes openwisp#311
  • Loading branch information
Priyanshu-Batham committed Nov 28, 2024
1 parent 46a2788 commit 2d7faf4
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions openwisp_monitoring/monitoring/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,12 +471,14 @@ def _get_access_tech():
'type': 'scatter',
'fill': 'none',
'yaxis': {'zeroline': False},
'title': _('Signal Strength'),
'title': _('Signal Strength (RSSI)'),
'colors': (DEFAULT_COLORS[3], DEFAULT_COLORS[0]),
'description': _('Signal Strength and Signal Power, measured in dBm.'),
'description': _(
'Signal Strength (RSSI) and Signal Power (RSRP), measured in dBm.'
),
'summary_labels': [
_('Average Signal Power'),
_('Average Signal Strength'),
_('Average Signal Power (RSRP)'),
_('Average Signal Strength (RSSI)'),
],
'unit': _(' dBm'),
'order': 205,
Expand All @@ -495,14 +497,16 @@ def _get_access_tech():
'type': 'scatter',
'fill': 'none',
'yaxis': {'zeroline': False},
'title': _('Signal Quality'),
'title': _('Signal Quality (RSRQ)'),
'colors': (DEFAULT_COLORS[3], DEFAULT_COLORS[0]),
'description': _(
_('Signal Quality and Signal to Noise Ratio (SNR), measured in dB.')
_(
'Signal Quality (RSRQ) and Signal to Noise Ratio (SNR), measured in dB.'
)
),
'summary_labels': [
_('Average Signal Quality'),
_('Average Signal to Noise Ratio'),
_('Average Signal Quality (RSRQ)'),
_('Average Signal to Noise Ratio (SNR)'),
],
'unit': _(' dB'),
'order': 206,
Expand Down

0 comments on commit 2d7faf4

Please sign in to comment.