Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RedisGrafana/grafana-redis-datasource
/ functions
Functions
177 in github.com/RedisGrafana/grafana-redis-datasource
⨍
Functions
177
◇
Types & classes
53
↓ 65 callers
Function
getOptions
({ jsonData = {}, secureJsonData = {}, ...overrideOptions }: OverrideOptions = {})
src/components/ConfigEditor/ConfigEditor.test.tsx:21
↓ 60 callers
Function
getTestedComponent
(wrapper: ShallowComponent)
src/components/ConfigEditor/ConfigEditor.test.tsx:82
↓ 42 callers
Function
errorHandler
** * Error Handler */
pkg/query.go:163
↓ 23 callers
Method
RunFlatCmd
(rcv interface{}, cmd, key string, args ...interface{})
pkg/redis-client.go:41
↓ 19 callers
Method
RunCmd
(rcv interface{}, cmd string, args ...string)
pkg/redis-client.go:42
↓ 15 callers
Function
queryJsonGet
** * JSON.GET <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonget */
pkg/redis-json.go:71
↓ 11 callers
Function
getQuery
(overrideQuery: object = {})
src/tests/utils.ts:6
↓ 11 callers
Function
queryTMScan
** * TMSCAN cursor match count * * Iterates over the collection of keys and query type and memory usage * Cursor iteration similar to SCAN command
pkg/redis-tmscan.go:28
↓ 10 callers
Function
queryRgPyexecute
** * RG.PYEXECUTE "<function>" [UNBLOCKING] [REQUIREMENTS "<dep> ..."] * * Executes a Python function * @see https://oss.redislabs.com/redisgears/
pkg/redis-gears.go:108
↓ 9 callers
Function
getComponent
(wrapper: ShallowComponent)
src/components/QueryEditor/QueryEditor.test.tsx:166
↓ 8 callers
Function
queryGraphQuery
** * GRAPH.QUERY <Graph name> {query} * * Executes the given query against a specified graph. * @see https://oss.redislabs.com/redisgraph/commands
pkg/redis-graph.go:21
↓ 7 callers
Method
QueryData
** * QueryData handles multiple queries and returns multiple responses. * req contains the queries []DataQuery (where each query contains RefID as a
pkg/datasource.go:51
↓ 7 callers
Function
queryRgPydumpReqs
** * RG.PYDUMPREQS * * Returns a list of all the python requirements available (with information about each requirement). * @see https://oss.redis
pkg/redis-gears.go:181
↓ 7 callers
Function
queryXRange
** * XRANGE key start end [COUNT count] * * @see https://redis.io/commands/xrange */
pkg/redis-stream.go:98
↓ 7 callers
Method
update
* Add new values for the frame * * @param request
src/time-series/time-series.ts:39
↓ 6 callers
Function
createFrameValue
** * Create frame with single value * * @param {string} key Key * @param {string} value Value */
pkg/data-frame.go:16
↓ 6 callers
Method
createSelectFieldHandler
* Change handler for select field * * @param {ChangeEvent<HTMLInputElement>} event Event
src/components/QueryEditor/QueryEditor.tsx:89
↓ 6 callers
Function
queryXInfoStream
** * XINFO [CONSUMERS key groupname] [GROUPS key] [STREAM key] [HELP] * * @see https://redis.io/commands/xinfo */
pkg/redis-stream.go:32
↓ 5 callers
Method
query
* Override query to support streaming
src/datasource/datasource.ts:95
↓ 5 callers
Function
queryXRevRange
** * XREVRANGE key end start [COUNT count] * * @see https://redis.io/commands/xrevrange */
pkg/redis-stream.go:144
↓ 4 callers
Method
getInstance
** * Return Instance */
pkg/datasource.go:168
↓ 4 callers
Function
getRequest
(overrideRequest: OverrideRequest = {})
src/datasource/datasource.test.ts:64
↓ 4 callers
Method
metricFindQuery
* Variable query action * * @param {string} query Query * @param {any} options Options * @returns {Promise<MetricFindValue[]>} Metric Find
src/datasource/datasource.ts:38
↓ 4 callers
Function
query
** * Query commands */
pkg/query.go:16
↓ 4 callers
Function
queryGraphSlowlog
** * GRAPH.SLOWLOG <Graph name> * * Returns a list containing up to 10 of the slowest queries issued against the given graph ID. * @see https://os
pkg/redis-graph.go:271
↓ 4 callers
Function
queryRgDumpregistrations
** * RG.DUMPREGISTRATIONS * * Returns the list of function registrations * @see https://oss.redislabs.com/redisgears/commands.html#rgdumpregistrat
pkg/redis-gears.go:53
↓ 4 callers
Function
queryRgPystats
** * RG.PYSTATS * * Returns memory usage statistics from the Python interpreter * @see https://oss.redislabs.com/redisgears/commands.html#rgpystat
pkg/redis-gears.go:21
↓ 3 callers
Method
CheckHealth
** * CheckHealth handles health checks sent from Grafana to the plugin * * @see https://redis.io/commands/ping */
pkg/datasource.go:135
↓ 3 callers
Method
Do
(a radix.Action)
pkg/redis-client.go:56
↓ 3 callers
Function
addFrameFieldsFromArray
** * Add Frame Fields from Array */
pkg/data-frame.go:33
↓ 3 callers
Function
assignReceiver
** * Receiver */
pkg/testing-utilities_test.go:115
↓ 3 callers
Function
createRedisClientConfig
Create redisClientConfiguration instance from the grafana settings
pkg/datasource.go:204
↓ 3 callers
Function
executeCustomQuery
** * Execute Query * Can PANIC if command is wrong */
pkg/redis-custom.go:23
↓ 3 callers
Function
parseInterfaceValue
** * Parse Value */
pkg/redis-custom.go:62
↓ 3 callers
Function
queryGraphConfig
** * GRAPH.CONFIG <Graph name> {cypher} * * Retrieves or updates a RedisGraph configuration. * @see https://oss.redislabs.com/redisgraph/commands/
pkg/redis-graph.go:392
↓ 3 callers
Function
queryGraphExplain
** * GRAPH.EXPLAIN <Graph name> {cypher} * * Constructs a query execution plan but does not run it. Inspect this execution plan to better understan
pkg/redis-graph.go:311
↓ 3 callers
Function
queryGraphProfile
** * GRAPH.PROFILE <Graph name> {cypher} * * Executes a query and produces an execution plan augmented with metrics for each operation's execution.
pkg/redis-graph.go:343
↓ 3 callers
Function
queryTsInfo
** * TS.INFO key * * @see https://oss.redislabs.com/redistimeseries/1.4/commands/#tsinfo */
pkg/redis-time-series.go:266
↓ 3 callers
Function
runQueryFieldsTest
(tests: QueryFieldTest[])
src/components/QueryEditor/QueryEditor.test.tsx:74
↓ 2 callers
Method
Close
()
pkg/redis-client.go:44
↓ 2 callers
Method
RunBatchFlatCmd
(commands []flatCommandArgs)
pkg/redis-client.go:43
↓ 2 callers
Method
applyTemplateVariables
* Override to apply template variables * * @param {string} query Query * @param {ScopedVars} scopedVars Scoped variables
src/datasource/datasource.ts:73
↓ 2 callers
Function
createFrameFromRangeResponse
** * Iterate over xrange/xrevrange result and build new Frame with required fields */
pkg/redis-stream.go:188
↓ 2 callers
Function
getConnOpts
Get connection options based on the provided configuration
pkg/redis-client.go:93
↓ 2 callers
Function
queryClientList
** * CLIENT LIST [TYPE normal|master|replica|pubsub] * * @see https://redis.io/commands/client-list */
pkg/redis-info.go:150
↓ 2 callers
Function
queryClusterInfo
** * CLUSTER INFO * * @see https://redis.io/commands/cluster-info */
pkg/redis-cluster.go:17
↓ 2 callers
Function
queryClusterNodes
** * CLUSTER NODES * * @see https://redis.io/commands/cluster-nodes */
pkg/redis-cluster.go:63
↓ 2 callers
Function
queryCustomCommand
** * Custom Command, used for CLI and Variables */
pkg/redis-custom.go:95
↓ 2 callers
Function
queryFtInfo
** * FT.INFO {index} * * @see https://oss.redislabs.com/redisearch/Commands/#ftinfo */
pkg/redis-search.go:85
↓ 2 callers
Function
queryFtSearch
(qm queryModel, client redisClient)
pkg/redis-search.go:12
↓ 2 callers
Function
queryHGet
** * HGET key field * * @see https://redis.io/commands/hget */
pkg/redis-hash.go:53
↓ 2 callers
Function
queryHGetAll
** * HGETALL key * * @see https://redis.io/commands/hgetall */
pkg/redis-hash.go:17
↓ 2 callers
Function
queryHMGet
** * HMGET key field [field ...] * * @see https://redis.io/commands/hmget */
pkg/redis-hash.go:77
↓ 2 callers
Function
queryInfo
** * INFO [section] * * @see https://redis.io/commands/info */
pkg/redis-info.go:18
↓ 2 callers
Function
queryJsonObjKeys
** * JSON.OBJKEYS <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonobjkeys */
pkg/redis-json.go:19
↓ 2 callers
Function
queryJsonObjLen
** * JSON.OBJLEN <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonobjlen */
pkg/redis-json.go:47
↓ 2 callers
Function
queryKeyCommand
** * Commands with one key parameter and return value * * @see https://redis.io/commands/type * @see https://redis.io/commands/ttl * @see https:/
pkg/query.go:184
↓ 2 callers
Function
querySMembers
** * SMEMBERS key * * @see https://redis.io/commands/smembers */
pkg/redis-set.go:13
↓ 2 callers
Function
querySlowlogGet
** * SLOWLOG subcommand [argument] * * @see https://redis.io/commands/slowlog */
pkg/redis-info.go:218
↓ 2 callers
Function
queryTsGet
** * TS.GET key * * @see https://oss.redislabs.com/redistimeseries/1.4/commands/#tsget */
pkg/redis-time-series.go:232
↓ 2 callers
Function
queryTsMGet
** * TS.MGET [WITHLABELS] FILTER filter... * * @see https://oss.redislabs.com/redistimeseries/commands/#tsmget */
pkg/redis-time-series.go:362
↓ 2 callers
Function
queryTsMRange
** * TS.MRANGE fromTimestamp toTimestamp [COUNT count] [AGGREGATION aggregationType timeBucket] [WITHLABELS] FILTER filter.. * * @see https://oss.r
pkg/redis-time-series.go:86
↓ 2 callers
Function
queryTsQueryIndex
** * TS.QUERYINDEX filter... * * @see https://oss.redislabs.com/redistimeseries/commands/#tsqueryindex */
pkg/redis-time-series.go:325
↓ 2 callers
Function
queryTsRange
** * TS.RANGE key fromTimestamp toTimestamp [COUNT count] [AGGREGATION aggregationType timeBucket] * * @see https://oss.redislabs.com/redistimeseri
pkg/redis-time-series.go:21
↓ 2 callers
Function
queryZRange
** * ZRANGE key min max [BYSCORE|BYLEX] [REV] [LIMIT offset count] [WITHSCORES] * * @see https://redis.io/commands/zrange */
pkg/redis-zset.go:15
↓ 1 callers
Method
Close
Close connection
pkg/redis-client.go:88
↓ 1 callers
Method
Dispose
** * Called before creating a new instance to close Redis connection pool */
pkg/datasource.go:285
↓ 1 callers
Function
Down
down docker-compose environment from integration tests
Magefile.go:71
↓ 1 callers
Function
Find
** * Find element in the slice */
pkg/datasource.go:37
↓ 1 callers
Method
Get
** * Get */
pkg/testing-utilities_test.go:230
↓ 1 callers
Method
RunBatchFlatCmd
Execute Batch FlatCmd
pkg/redis-client.go:71
↓ 1 callers
Method
RunCmd
Execute Radix Cmd
pkg/redis-client.go:83
↓ 1 callers
Method
RunFlatCmd
Execute Radix FlatCmd
pkg/redis-client.go:66
↓ 1 callers
Function
Up
up docker-compose environment from integration tests
Magefile.go:66
↓ 1 callers
Function
convertToCLI
** * Convert results to CLI format */
pkg/redis-custom.go:203
↓ 1 callers
Method
createRedioButtonFieldHandler
* Change handler for radio button field * * @param {value: ValueType}
src/components/QueryEditor/QueryEditor.tsx:100
↓ 1 callers
Function
findAllNodesAndEdges
** * Parse array of entries and find * either Nodes https://oss.redislabs.com/redisgraph/result_structure/#nodes * or Relations https://oss.redisla
pkg/redis-graph.go:150
↓ 1 callers
Function
getInstanceSettings
(overrideSettings: object = {})
src/datasource/datasource.test.ts:22
↓ 1 callers
Function
newDatasource
** * The function is called when the instance is created for the first time or when a datasource configuration changed. */
pkg/datasource.go:20
↓ 1 callers
Function
newRadixV3Client
creates new radixV3Impl implementation of redisClient interface
pkg/redis-client.go:132
Method
Close
()
pkg/redis-client.go:57
Method
Close
** * Close session */
pkg/testing-utilities_test.go:194
Method
Close
** * Close() Error */
pkg/testing-utilities_test.go:216
Function
Cluster
up docker-compose environment and run cluster tests
Magefile.go:58
Function
Cover
runs backend tests and makes a txt coverage report in "atomic" mode and html coverage report.
Magefile.go:16
Method
Do
** * Do */
pkg/testing-utilities_test.go:238
Function
Integration
up docker-compose environment and run backend tests including integration tests with coverage report
Magefile.go:34
Method
RunBatchFlatCmd
** * Pipeline execution using Batch */
pkg/testing-utilities_test.go:98
Method
RunBatchFlatCmd
** * Batch command */
pkg/testing-utilities_test.go:223
Method
RunCmd
** * Cmd() */
pkg/testing-utilities_test.go:76
Method
RunCmd
** * Cmd() Error */
pkg/testing-utilities_test.go:209
Method
RunFlatCmd
** * FlatCmd() */
pkg/testing-utilities_test.go:64
Method
RunFlatCmd
** * FlatCmd() Error */
pkg/testing-utilities_test.go:202
Function
TestAddFrameFieldsFromArray
(t *testing.T)
pkg/data-frame_test.go:33
Function
TestCheckHealth
** * Check Health */
pkg/datasource_test.go:308
Function
TestCheckHealthWithErrorFromClient
** * Check Health with Client Error */
pkg/datasource_test.go:346
Function
TestCheckHealthWithErrorFromIm
** * Check Health with Error */
pkg/datasource_test.go:327
Function
TestCluster
(t *testing.T)
pkg/redis-cluster_integration_test.go:12
Function
TestCreateFrameValue
(t *testing.T)
pkg/data-frame_test.go:10
Function
TestCreateRedisClientConfig
** * Client Config */
pkg/datasource_test.go:20
next →
1–100 of 177, ranked by callers