-
Problem report
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
Problem:
Redis template agent 2 wrong json patch.
// code placeholder
This item is Parent for redis.db.info_raw"{#DB}"
parent already extracts .Keyspace
name: 'Redis: Get Keyspace info' type: DEPENDENT key: redis.keyspace.info_raw delay: '0' history: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.Keyspace
Child item JSONPATCH want .Keyspace witch dose not exist so need just '$."{#DB}"'
name: 'DB {#DB}: Get Keyspace info' type: DEPENDENT key: 'redis.db.info_raw["{#DB}"]' delay: '0' history: '0' trends: '0' value_type: TEXT description: 'The item gets information about keyspace of {#DB} database.' preprocessing: - type: JSONPATH parameters: - '$.Keyspace["{#DB}"]' error_handler: DISCARD_VALUE master_item: key: redis.keyspace.info_raw
Template
redis db agent 2 template