Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[monitoring-docs] Restructured Documentation: New Unified Documentation Website #585

Merged
merged 43 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0bf0bfc
[docs] Re-structured docs
pandafy Apr 25, 2024
2daa075
[chores] Fixed URL mapping
pandafy Apr 25, 2024
fadb149
[chores] Fixed references
pandafy Apr 25, 2024
6776055
[chores] Fixed images
pandafy Apr 25, 2024
2ec3f97
[chores] Improved references
pandafy Apr 26, 2024
4a1de54
[chores] Added developer docs warning to all developer pages
pandafy Apr 26, 2024
782b615
[docs] Renamed overview to index
nemesifier May 16, 2024
2420738
[qa] Formatted with docstrfmt
pandafy May 27, 2024
4d37fc9
[docs] Restructured docs and fixed URLs
pandafy May 28, 2024
f415c68
[docs] Restructured developer docs
pandafy May 28, 2024
3c8bd3d
[docs] Restructured developer docs
pandafy May 29, 2024
441a8da
[docs] Fixed URLs
pandafy May 29, 2024
e3f2e87
[docs] Adaptive size improvement
nemesifier Jun 1, 2024
2d0e27b
[req-changes] Capitalized headings
pandafy Jun 6, 2024
bfedba6
[req-changes] Improved docs
pandafy Jun 6, 2024
141795b
[skip ci] Fixed README
pandafy Jun 6, 2024
6baf799
[docs] incorporated copy writer's changes
pandafy Jun 6, 2024
6fb3b4e
[req-changes] Fixed sphinx warnings
pandafy Jun 7, 2024
ea2ee24
[skip ci] Updated README
pandafy Jun 7, 2024
48f1ae7
[skip ci] Fixed references
pandafy Jun 14, 2024
6de98c0
[skip ci] Fixed references
pandafy Jun 14, 2024
b1dc18b
[skip ci] Updated index and fixed references
pandafy Jun 19, 2024
861c6d8
[skip ci] Point to Django 4.2 docs
pandafy Jun 19, 2024
04b7698
[skip ci] Updated README
pandafy Jul 8, 2024
537d068
[docs] Added link to github repo
nemesifier Jul 11, 2024
7c6c0c1
[docs] OpenWRT > OpenWrt
nemesifier Jul 13, 2024
5ddbe70
[skip ci] Fixed references to OpenWISP modules
pandafy Jul 15, 2024
620cc38
[skip ci] Integrated changes from fb2814b
pandafy Jul 15, 2024
2706f7d
[skip ci] Updated docs website URL
pandafy Jul 15, 2024
9e73831
[docs] Table of contents, consistency, fixes
nemesifier Jul 16, 2024
cda6886
[docs] Moved quickstart section to main docs
nemesifier Jul 18, 2024
933a4e0
[docs] Point to monitoring agent directly
nemesifier Jul 18, 2024
1c74f97
[docs] Reformatted
nemesifier Jul 18, 2024
bac1e38
[docs] Added architecture diagram
nemesifier Jul 22, 2024
de8f54a
[docs] Minor improvement to index
nemesifier Jul 23, 2024
45f67aa
[docs] Reformatted index
nemesifier Jul 23, 2024
72ef0a5
[docs] Reformatted [skip ci]
nemesifier Jul 27, 2024
c72a7fa
[docs] Fixed doc reference
nemesifier Jul 27, 2024
c2d7403
[docs:qa] Reformatted
nemesifier Jul 30, 2024
fdaef6c
[qa] Reformatted docstrings
nemesifier Jul 30, 2024
51a2995
Merge branch 'master' into reorder-docs
nemesifier Aug 1, 2024
34943a3
[docs] Fixed contributing
nemesifier Aug 1, 2024
41cd261
[qa] Don't skip README in docstrfmt
nemesifier Aug 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 73 additions & 65 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,31 @@ Version 1.0.3 [2022-12-29]
Bugfixes
~~~~~~~~

- Fixed data collection for missing mobile signal:
Skip writing mobile signal metric if mobile signal
info is missing.
- Fixed device health status changing to ``problem``
when the configuration status changes to ``modified``.
- Fixed data collection for missing mobile signal: Skip writing mobile
signal metric if mobile signal info is missing.
- Fixed device health status changing to ``problem`` when the
configuration status changes to ``modified``.

Version 1.0.2 [2022-08-04]
--------------------------

Bugfixes
~~~~~~~~

- Fixed migrations which create checks for existing devices;
this problem was happening to OpenWISP instances which were
deployed without OpenWISP Monitoring and then enabled
the monitoring features
- Fixed migrations which create checks for existing devices; this problem
was happening to OpenWISP instances which were deployed without OpenWISP
Monitoring and then enabled the monitoring features

Version 1.0.1 [2022-07-01]
--------------------------

Bugfixes
~~~~~~~~

- Removed hardcoded static URLs which created
issues when static files are served using an
external service (e.g. S3 storage buckets)
- Fixed `"migrate_timeseries" command stalling
when measurements exceeds retention policy
- Removed hardcoded static URLs which created issues when static files are
served using an external service (e.g. S3 storage buckets)
- Fixed `"migrate_timeseries" command stalling when measurements exceeds
retention policy
<https://github.com/openwisp/openwisp-monitoring/issues/401>`_

Version 1.0.0 [2022-05-05]
Expand All @@ -48,51 +45,61 @@ Version 1.0.0 [2022-05-05]
Features
~~~~~~~~

- Added metrics for mobile (5G/LTE/UMTS/GSM)
`signal strength <https://github.com/openwisp/openwisp-monitoring#mobile-signal-strength>`_,
`signal quality <https://github.com/openwisp/openwisp-monitoring#mobile-signal-quality>`_
- Added metrics for mobile (5G/LTE/UMTS/GSM) `signal strength
<https://github.com/openwisp/openwisp-monitoring#mobile-signal-strength>`_,
`signal quality
<https://github.com/openwisp/openwisp-monitoring#mobile-signal-quality>`_
and `mobile access technology in use
<https://github.com/openwisp/openwisp-monitoring#mobile-access-technology-in-use>`_.
- Made `Ping check configurable <https://github.com/openwisp/openwisp-monitoring#openwisp_monitoring_ping_check_config>`_
- Added monitoring status chart to the dashboard and
a geographic map which shows a visual representation of the
monitoring the status of the devices.
- Added functionality to automatically clear the device's ``management_ip``
when a device goes offline
- Made `Ping check configurable
<https://github.com/openwisp/openwisp-monitoring#openwisp_monitoring_ping_check_config>`_
- Added monitoring status chart to the dashboard and a geographic map
which shows a visual representation of the monitoring the status of the
devices.
- Added functionality to automatically clear the device's
``management_ip`` when a device goes offline
- Added support for specifying the time for received time-series data.
- Made read requests to timeseries DB resilient to failures

Changes
~~~~~~~

Backward incompatible changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+++++++++++++++++++++++++++++

- *Monitoring Template* is removed in favour of
`openwisp monitoring packages <https://github.com/openwisp/openwrt-openwisp-monitoring#openwrt-openwisp-monitoring>`_.
- *Monitoring Template* is removed in favour of `openwisp monitoring
packages
<https://github.com/openwisp/openwrt-openwisp-monitoring#openwrt-openwisp-monitoring>`_.
Follow the migration guide in `migrating from monitoring scripts to
monitoring packages <https://github.com/openwisp/openwisp-monitoring#migrating-from-monitoring-scripts-to-monitoring-packages>`_
monitoring packages
<https://github.com/openwisp/openwisp-monitoring#migrating-from-monitoring-scripts-to-monitoring-packages>`_
section of openwisp-monitoring documentation.
- If you have made changes to the default *Monitoring Template*, then
create a backup of your template before running migrations. Running
migrations will make changes to the default *Monitoring Template*.
- The time-series database schema for storing
`interface traffic <https://github.com/openwisp/openwisp-monitoring#traffic>`_
and `associated WiFi clients <https://github.com/openwisp/openwisp-monitoring#wifi-clients>`_
has been updated. The data for *interface traffic* and *associated WiFi clients*
is stored in ``traffic`` and ``wifi_clients`` measurements respectively.
The Django migrations will perform the necessary operations in the time-series
database aysnchronously. It is recommended that you backup the time-series
database before running the migrations.

You can use the `migrate_timeseries <https://github.com/openwisp/openwisp-monitoring#run-checks>`_
- The time-series database schema for storing `interface traffic
<https://github.com/openwisp/openwisp-monitoring#traffic>`_ and
`associated WiFi clients
<https://github.com/openwisp/openwisp-monitoring#wifi-clients>`_ has
been updated. The data for *interface traffic* and *associated WiFi
clients* is stored in ``traffic`` and ``wifi_clients`` measurements
respectively. The Django migrations will perform the necessary
operations in the time-series database aysnchronously. It is recommended
that you backup the time-series database before running the migrations.

You can use the `migrate_timeseries
<https://github.com/openwisp/openwisp-monitoring#run-checks>`_
management command to trigger the migration of the time-series database.
- The `interface traffic <https://github.com/openwisp/openwisp-monitoring#traffic>`_
and `associated WiFi clients <https://github.com/openwisp/openwisp-monitoring#wifi-clients>`_
metrics store additional tags, i.e. ``organization_id``, ``location_id`` and ``floorplan_id``.

- The `interface traffic
<https://github.com/openwisp/openwisp-monitoring#traffic>`_ and
`associated WiFi clients
<https://github.com/openwisp/openwisp-monitoring#wifi-clients>`_ metrics
store additional tags, i.e. ``organization_id``, ``location_id`` and
``floorplan_id``.

Dependencies
^^^^^^^^^^^^
++++++++++++

- Dropped support for Python 3.6
- Dropped support for Django 2.2
Expand All @@ -104,37 +111,38 @@ Dependencies
- Upgraded django-nested-admin to 3.4.0

Other changes
^^^^^^^^^^^^^

- *Configuration applied* check is triggered whenever the
configuration status of a device changes
- Added a default ``5`` minutes tolerance to ``CPU`` and ``memory``
alert settings.
- Increased threshold value for ``disk`` alert settings from
*80%* to *90%*, since some device models have limited flash and
would trigger the alert in many cases.
+++++++++++++

- *Configuration applied* check is triggered whenever the configuration
status of a device changes
- Added a default ``5`` minutes tolerance to ``CPU`` and ``memory`` alert
settings.
- Increased threshold value for ``disk`` alert settings from *80%* to
*90%*, since some device models have limited flash and would trigger the
alert in many cases.
- Renamed ``Check.check`` field to ``Check.check_type``
- Made metric health status independent of AlertSetting tolerance.
Added ``tolerance_crossed`` parameter in
- Made metric health status independent of AlertSetting tolerance. Added
``tolerance_crossed`` parameter in
``openwisp_monitoring.monitoring.signals.threshold_crossed`` signal
- The system does not sends connection notifications if the
connectivity of the device changes
- Improved UX of device's reachability (ping) chart.
Added more colours to represent different scenarios
- Avoid showing charts which have empty data in the REST API response
and in the device charts admin page
- The system does not sends connection notifications if the connectivity
of the device changes
- Improved UX of device's reachability (ping) chart. Added more colours to
represent different scenarios
- Avoid showing charts which have empty data in the REST API response and
in the device charts admin page

Bugfixes
~~~~~~~~

- Fixed a bug that caused inconsistency in the order of chart summary values
- Fixed a bug that caused inconsistency in the order of chart summary
values
- Fixed bugs in restoring deleted devices using ``django-reversion``
- Fixed migrations referencing non-swappable OpenWISP modules
that broke OpenWISP's extensibility
- Skip retry for writing metrics beyond retention policy.
The celery worker kept on retrying writing data to InfluxDB even
when the data points crossed the retention policy of InfluxDB. This
led to accumulation of such tasks which overloaded the celery workers.
- Fixed migrations referencing non-swappable OpenWISP modules that broke
OpenWISP's extensibility
- Skip retry for writing metrics beyond retention policy. The celery
worker kept on retrying writing data to InfluxDB even when the data
points crossed the retention policy of InfluxDB. This led to
accumulation of such tasks which overloaded the celery workers.

Version 0.1.0 [2021-01-31]
--------------------------
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Please refer to the `Contribution Guidelines <https://github.com/openwisp/openwisp-monitoring#contributing>`_.
Please refer to the `Contribution Guidelines
<https://github.com/openwisp/openwisp-monitoring#contributing>`_.
Loading