MCPcopy Create free account

hub / github.com/RedisGrafana/grafana-redis-datasource / functions

Functions177 in github.com/RedisGrafana/grafana-redis-datasource

↓ 65 callersFunctiongetOptions
({ jsonData = {}, secureJsonData = {}, ...overrideOptions }: OverrideOptions = {})
src/components/ConfigEditor/ConfigEditor.test.tsx:21
↓ 60 callersFunctiongetTestedComponent
(wrapper: ShallowComponent)
src/components/ConfigEditor/ConfigEditor.test.tsx:82
↓ 42 callersFunctionerrorHandler
** * Error Handler */
pkg/query.go:163
↓ 23 callersMethodRunFlatCmd
(rcv interface{}, cmd, key string, args ...interface{})
pkg/redis-client.go:41
↓ 19 callersMethodRunCmd
(rcv interface{}, cmd string, args ...string)
pkg/redis-client.go:42
↓ 15 callersFunctionqueryJsonGet
** * JSON.GET <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonget */
pkg/redis-json.go:71
↓ 11 callersFunctiongetQuery
(overrideQuery: object = {})
src/tests/utils.ts:6
↓ 11 callersFunctionqueryTMScan
** * 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 callersFunctionqueryRgPyexecute
** * RG.PYEXECUTE "<function>" [UNBLOCKING] [REQUIREMENTS "<dep> ..."] * * Executes a Python function * @see https://oss.redislabs.com/redisgears/
pkg/redis-gears.go:108
↓ 9 callersFunctiongetComponent
(wrapper: ShallowComponent)
src/components/QueryEditor/QueryEditor.test.tsx:166
↓ 8 callersFunctionqueryGraphQuery
** * 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 callersMethodQueryData
** * 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 callersFunctionqueryRgPydumpReqs
** * 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 callersFunctionqueryXRange
** * XRANGE key start end [COUNT count] * * @see https://redis.io/commands/xrange */
pkg/redis-stream.go:98
↓ 7 callersMethodupdate
* Add new values for the frame * * @param request
src/time-series/time-series.ts:39
↓ 6 callersFunctioncreateFrameValue
** * Create frame with single value * * @param {string} key Key * @param {string} value Value */
pkg/data-frame.go:16
↓ 6 callersMethodcreateSelectFieldHandler
* Change handler for select field * * @param {ChangeEvent<HTMLInputElement>} event Event
src/components/QueryEditor/QueryEditor.tsx:89
↓ 6 callersFunctionqueryXInfoStream
** * XINFO [CONSUMERS key groupname] [GROUPS key] [STREAM key] [HELP] * * @see https://redis.io/commands/xinfo */
pkg/redis-stream.go:32
↓ 5 callersMethodquery
* Override query to support streaming
src/datasource/datasource.ts:95
↓ 5 callersFunctionqueryXRevRange
** * XREVRANGE key end start [COUNT count] * * @see https://redis.io/commands/xrevrange */
pkg/redis-stream.go:144
↓ 4 callersMethodgetInstance
** * Return Instance */
pkg/datasource.go:168
↓ 4 callersFunctiongetRequest
(overrideRequest: OverrideRequest = {})
src/datasource/datasource.test.ts:64
↓ 4 callersMethodmetricFindQuery
* Variable query action * * @param {string} query Query * @param {any} options Options * @returns {Promise<MetricFindValue[]>} Metric Find
src/datasource/datasource.ts:38
↓ 4 callersFunctionquery
** * Query commands */
pkg/query.go:16
↓ 4 callersFunctionqueryGraphSlowlog
** * 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 callersFunctionqueryRgDumpregistrations
** * RG.DUMPREGISTRATIONS * * Returns the list of function registrations * @see https://oss.redislabs.com/redisgears/commands.html#rgdumpregistrat
pkg/redis-gears.go:53
↓ 4 callersFunctionqueryRgPystats
** * 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 callersMethodCheckHealth
** * CheckHealth handles health checks sent from Grafana to the plugin * * @see https://redis.io/commands/ping */
pkg/datasource.go:135
↓ 3 callersMethodDo
(a radix.Action)
pkg/redis-client.go:56
↓ 3 callersFunctionaddFrameFieldsFromArray
** * Add Frame Fields from Array */
pkg/data-frame.go:33
↓ 3 callersFunctionassignReceiver
** * Receiver */
pkg/testing-utilities_test.go:115
↓ 3 callersFunctioncreateRedisClientConfig
Create redisClientConfiguration instance from the grafana settings
pkg/datasource.go:204
↓ 3 callersFunctionexecuteCustomQuery
** * Execute Query * Can PANIC if command is wrong */
pkg/redis-custom.go:23
↓ 3 callersFunctionparseInterfaceValue
** * Parse Value */
pkg/redis-custom.go:62
↓ 3 callersFunctionqueryGraphConfig
** * GRAPH.CONFIG <Graph name> {cypher} * * Retrieves or updates a RedisGraph configuration. * @see https://oss.redislabs.com/redisgraph/commands/
pkg/redis-graph.go:392
↓ 3 callersFunctionqueryGraphExplain
** * 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 callersFunctionqueryGraphProfile
** * 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 callersFunctionqueryTsInfo
** * TS.INFO key * * @see https://oss.redislabs.com/redistimeseries/1.4/commands/#tsinfo */
pkg/redis-time-series.go:266
↓ 3 callersFunctionrunQueryFieldsTest
(tests: QueryFieldTest[])
src/components/QueryEditor/QueryEditor.test.tsx:74
↓ 2 callersMethodClose
()
pkg/redis-client.go:44
↓ 2 callersMethodRunBatchFlatCmd
(commands []flatCommandArgs)
pkg/redis-client.go:43
↓ 2 callersMethodapplyTemplateVariables
* Override to apply template variables * * @param {string} query Query * @param {ScopedVars} scopedVars Scoped variables
src/datasource/datasource.ts:73
↓ 2 callersFunctioncreateFrameFromRangeResponse
** * Iterate over xrange/xrevrange result and build new Frame with required fields */
pkg/redis-stream.go:188
↓ 2 callersFunctiongetConnOpts
Get connection options based on the provided configuration
pkg/redis-client.go:93
↓ 2 callersFunctionqueryClientList
** * CLIENT LIST [TYPE normal|master|replica|pubsub] * * @see https://redis.io/commands/client-list */
pkg/redis-info.go:150
↓ 2 callersFunctionqueryClusterInfo
** * CLUSTER INFO * * @see https://redis.io/commands/cluster-info */
pkg/redis-cluster.go:17
↓ 2 callersFunctionqueryClusterNodes
** * CLUSTER NODES * * @see https://redis.io/commands/cluster-nodes */
pkg/redis-cluster.go:63
↓ 2 callersFunctionqueryCustomCommand
** * Custom Command, used for CLI and Variables */
pkg/redis-custom.go:95
↓ 2 callersFunctionqueryFtInfo
** * FT.INFO {index} * * @see https://oss.redislabs.com/redisearch/Commands/#ftinfo */
pkg/redis-search.go:85
↓ 2 callersFunctionqueryFtSearch
(qm queryModel, client redisClient)
pkg/redis-search.go:12
↓ 2 callersFunctionqueryHGet
** * HGET key field * * @see https://redis.io/commands/hget */
pkg/redis-hash.go:53
↓ 2 callersFunctionqueryHGetAll
** * HGETALL key * * @see https://redis.io/commands/hgetall */
pkg/redis-hash.go:17
↓ 2 callersFunctionqueryHMGet
** * HMGET key field [field ...] * * @see https://redis.io/commands/hmget */
pkg/redis-hash.go:77
↓ 2 callersFunctionqueryInfo
** * INFO [section] * * @see https://redis.io/commands/info */
pkg/redis-info.go:18
↓ 2 callersFunctionqueryJsonObjKeys
** * JSON.OBJKEYS <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonobjkeys */
pkg/redis-json.go:19
↓ 2 callersFunctionqueryJsonObjLen
** * JSON.OBJLEN <key> [path] * * @see https://oss.redis.com/redisjson/commands/#jsonobjlen */
pkg/redis-json.go:47
↓ 2 callersFunctionqueryKeyCommand
** * 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 callersFunctionquerySMembers
** * SMEMBERS key * * @see https://redis.io/commands/smembers */
pkg/redis-set.go:13
↓ 2 callersFunctionquerySlowlogGet
** * SLOWLOG subcommand [argument] * * @see https://redis.io/commands/slowlog */
pkg/redis-info.go:218
↓ 2 callersFunctionqueryTsGet
** * TS.GET key * * @see https://oss.redislabs.com/redistimeseries/1.4/commands/#tsget */
pkg/redis-time-series.go:232
↓ 2 callersFunctionqueryTsMGet
** * TS.MGET [WITHLABELS] FILTER filter... * * @see https://oss.redislabs.com/redistimeseries/commands/#tsmget */
pkg/redis-time-series.go:362
↓ 2 callersFunctionqueryTsMRange
** * TS.MRANGE fromTimestamp toTimestamp [COUNT count] [AGGREGATION aggregationType timeBucket] [WITHLABELS] FILTER filter.. * * @see https://oss.r
pkg/redis-time-series.go:86
↓ 2 callersFunctionqueryTsQueryIndex
** * TS.QUERYINDEX filter... * * @see https://oss.redislabs.com/redistimeseries/commands/#tsqueryindex */
pkg/redis-time-series.go:325
↓ 2 callersFunctionqueryTsRange
** * TS.RANGE key fromTimestamp toTimestamp [COUNT count] [AGGREGATION aggregationType timeBucket] * * @see https://oss.redislabs.com/redistimeseri
pkg/redis-time-series.go:21
↓ 2 callersFunctionqueryZRange
** * ZRANGE key min max [BYSCORE|BYLEX] [REV] [LIMIT offset count] [WITHSCORES] * * @see https://redis.io/commands/zrange */
pkg/redis-zset.go:15
↓ 1 callersMethodClose
Close connection
pkg/redis-client.go:88
↓ 1 callersMethodDispose
** * Called before creating a new instance to close Redis connection pool */
pkg/datasource.go:285
↓ 1 callersFunctionDown
down docker-compose environment from integration tests
Magefile.go:71
↓ 1 callersFunctionFind
** * Find element in the slice */
pkg/datasource.go:37
↓ 1 callersMethodGet
** * Get */
pkg/testing-utilities_test.go:230
↓ 1 callersMethodRunBatchFlatCmd
Execute Batch FlatCmd
pkg/redis-client.go:71
↓ 1 callersMethodRunCmd
Execute Radix Cmd
pkg/redis-client.go:83
↓ 1 callersMethodRunFlatCmd
Execute Radix FlatCmd
pkg/redis-client.go:66
↓ 1 callersFunctionUp
up docker-compose environment from integration tests
Magefile.go:66
↓ 1 callersFunctionconvertToCLI
** * Convert results to CLI format */
pkg/redis-custom.go:203
↓ 1 callersMethodcreateRedioButtonFieldHandler
* Change handler for radio button field * * @param {value: ValueType}
src/components/QueryEditor/QueryEditor.tsx:100
↓ 1 callersFunctionfindAllNodesAndEdges
** * 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 callersFunctiongetInstanceSettings
(overrideSettings: object = {})
src/datasource/datasource.test.ts:22
↓ 1 callersFunctionnewDatasource
** * The function is called when the instance is created for the first time or when a datasource configuration changed. */
pkg/datasource.go:20
↓ 1 callersFunctionnewRadixV3Client
creates new radixV3Impl implementation of redisClient interface
pkg/redis-client.go:132
MethodClose
()
pkg/redis-client.go:57
MethodClose
** * Close session */
pkg/testing-utilities_test.go:194
MethodClose
** * Close() Error */
pkg/testing-utilities_test.go:216
FunctionCluster
up docker-compose environment and run cluster tests
Magefile.go:58
FunctionCover
runs backend tests and makes a txt coverage report in "atomic" mode and html coverage report.
Magefile.go:16
MethodDo
** * Do */
pkg/testing-utilities_test.go:238
FunctionIntegration
up docker-compose environment and run backend tests including integration tests with coverage report
Magefile.go:34
MethodRunBatchFlatCmd
** * Pipeline execution using Batch */
pkg/testing-utilities_test.go:98
MethodRunBatchFlatCmd
** * Batch command */
pkg/testing-utilities_test.go:223
MethodRunCmd
** * Cmd() */
pkg/testing-utilities_test.go:76
MethodRunCmd
** * Cmd() Error */
pkg/testing-utilities_test.go:209
MethodRunFlatCmd
** * FlatCmd() */
pkg/testing-utilities_test.go:64
MethodRunFlatCmd
** * FlatCmd() Error */
pkg/testing-utilities_test.go:202
FunctionTestAddFrameFieldsFromArray
(t *testing.T)
pkg/data-frame_test.go:33
FunctionTestCheckHealth
** * Check Health */
pkg/datasource_test.go:308
FunctionTestCheckHealthWithErrorFromClient
** * Check Health with Client Error */
pkg/datasource_test.go:346
FunctionTestCheckHealthWithErrorFromIm
** * Check Health with Error */
pkg/datasource_test.go:327
FunctionTestCluster
(t *testing.T)
pkg/redis-cluster_integration_test.go:12
FunctionTestCreateFrameValue
(t *testing.T)
pkg/data-frame_test.go:10
FunctionTestCreateRedisClientConfig
** * Client Config */
pkg/datasource_test.go:20
next →1–100 of 177, ranked by callers