4 Commits

Author SHA1 Message Date
Hasan Acar
84f03c516a Fixing the gates
fix: sha256 instead of sha1 for metric_id

fix: allowlist added to .tox file
Change-Id: I0384f8e9cdae901df9403c442fce4cf1bf036968
2024-03-20 05:52:08 +00:00
Joseph Davis
c32885aed8 Clarify dependency on cachetools in recreate-metric-id tool
It was found in some installations that python-cachetools needed
to be present on the system.  This can happen if the installation
was configured for the Java mon-persister but the recreate-metric-id
tool is written in Python.  Added a bullet item to describe this
dependency and the quick workaround of installing the
python-cachetools package.

Change-Id: I25635c069a5ed21342780a28b516c74b61dae30b
Story: 2005305
Task: 30611
2019-06-06 13:39:54 -07:00
Joseph Davis
5e1823de06 Fix a typo and add troubleshooting in tools README
It was discovered that the example paths included in the README.rst
used monasca-persister rather than monasca_persister.

Also added a footnote with two error messages that occur when the
contact_points is not specified correctly.

Story: 2005305
Task: 30611

Change-Id: I0c53af817504e638bd82401ca0b62874cb591f36
2019-05-16 15:46:39 -07:00
Joseph Davis
0aaa7d357f Create a tool for recreating missing metrid_id in Cassandra
In some rare cases it is possible for a row in Cassandra for
metrics to have no value for metric_id or created_at, though
they may still have updated_at and the other required columns.

This tool is for recreating the metric_id from the other required
columns.

An additional 'persister-check-missing-metric-id.py' tool is
provided which can be run to see if there are missing metric-id
values that need to be recreated.

Please see the README.rst for usage directions.

Story: 2005305
Task: 30611

Change-Id: I0593558407c8c773d728bbd035dde91310b59be3
(cherry picked from commit 09af9bff91e5a109d5bcd204f3647aa4fe023fe9)
2019-05-13 09:55:49 -07:00