Code Monkey home page Code Monkey logo

dynatrace-activegate-for-redis-enterprise's People

Contributors

banker avatar j8-redis avatar maguec avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

dynatrace-activegate-for-redis-enterprise's Issues

Exception: Data Collection Error: list index out of range

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

cluster fails to reconnect

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.