SIENTIAPDE-1478
Refactor PIWebAPIClient and Update Configuration Imports - Removed outdated PostgreSQL, Redis, MongoDB, and API configuration functions from connectors_config.py. - Deleted the pi_web_api_client.py file as part of the refactor. - Updated imports in worker.py and api.py to use the new repository structure. - Cleaned up scenarios.md by removing obsolete scenarios related to unique constraint violations. - Commented out the specific version of the sientia-dataops-library in requirements.txt for flexibility.
This commit is contained in:
@@ -23,24 +23,4 @@ TAG_CHANGES_MONITOR = Gauge(
|
||||
'scouter_tag_changes_monitor',
|
||||
'Current value change of each tag',
|
||||
[*CORE_LABELS, 'tag_name'],
|
||||
)
|
||||
|
||||
|
||||
# Generic REST client metrics
|
||||
GENERIC_REST_CLIENT_LAG = Histogram(
|
||||
'scouter_generic_rest_client_lag',
|
||||
'Lag time for a request to a generic REST client',
|
||||
SIENTIA_CORE_LABELS,
|
||||
)
|
||||
|
||||
GENERIC_REST_READ_COUNT = Counter(
|
||||
'scouter_generic_rest_client_read_count',
|
||||
'Number of reads from a generic REST client',
|
||||
SIENTIA_CORE_LABELS,
|
||||
)
|
||||
|
||||
GENERIC_REST_READ_ERROR_COUNT = Counter(
|
||||
'scouter_generic_rest_client_read_error_count',
|
||||
'Number of read errors from a generic REST client',
|
||||
SIENTIA_CORE_LABELS,
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user