redis-field-engineering / dynatrace-activegate-for-redis-enterprise Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Dynatrace ActiveGate Extension for Redis Enterprise
License: MIT License
[DEPRECATED] Dynatrace ActiveGate Extension for Redis Enterprise
License: MIT License
When an active active database is created but the remote is down the following exception gets thrown
File "/opt/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.redisenterprise/active_gate_redisenterprise_plugin.py", line 347, in query
self.get_crdt_stats(bdbs, bdb_devices)
File "/opt/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.redisenterprise/active_gate_redisenterprise_plugin.py", line 131, in get_crdt_stats
stats = peer_stats["peer_stats"][0]["intervals"][0]
IndexError: list index out of range
Traceback (most recent call last):
File "/var/lib/dynatrace/remotepluginmodule/agent/runtime/engine_unzipped/ruxit/plugin_state_machine.py", line 336, in _execute_next_task
self._query_plugin()
File "/var/lib/dynatrace/remotepluginmodule/agent/runtime/engine_unzipped/ruxit/plugin_state_machine.py", line 670, in _query_plugin
self._plugin_run_data.plugin_instance._query_internal(**self._plugin_run_data.plugin_args)
File "/var/lib/dynatrace/remotepluginmodule/agent/runtime/engine_unzipped/ruxit/api/base_plugin.py", line 452, in _query_internal
return self.query(**kwargs)
File "/opt/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.redisenterprise/active_gate_redisenterprise_plugin.py", line 357, in query
raise Exception("Data Collection Error: {}".format(inst))
Exception: Data Collection Error: list index out of range
Need to better handle this edge case
Running into an issue with cluster connection with the following, this was a working connection, tried moving master shard to the cluster master in vain. Any thoughts ?
2023-03-23 20:25:21.806 UTC INFO [Python][3276139769881948510][XXX test.test.net][140659205846784][ThreadPoolExecutor-0_18] - [query] Endpoint is not the cluster leader: https://test.test.net:9443/
This metric is off by 2 decimals. For Eg., 0.26% instead of 26%
Is total_req same as ops/sec?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.