opengeminiQuery
x/opengeminiQuery
Component: v0.24.0+ OpenGemini read client. Read data from the OpenGemini server.
# Configuration
This component allows the reuse of shared connection clients through the server
field. See Component Connection Reuse for reference.
Field | Type | Description | Default |
---|---|---|---|
server | string | OpenGemini service address, format: hostname:port, multiple servers separated by commas | None |
database | string | Database, can use component configuration variables | None |
command | string | Query statement, can use component configuration variables | None |
username | string | Username | None |
password | string | Password | None |
token | string | Authentication token, if Token is not empty, use Token for authentication | None |
# Relation Type
- Success: Execution successful, send the message to the
Success
chain - Failure: Execution failed, send the message to the
Failure
chain
# Execution Result
The query result is assigned to the message payload and passed to the next node, example format of the result:
{
"results": [{
"series": [{
"name": "cpu_load",
"columns": ["time", "host", "region", "value"],
"values": [
[1434055562000000000, "server01", "us-west", 23.5],
[1725338686479394000, "server01", null, 98.6],
[1725338708995917800, "server01", null, 98.6],
[1725338983675575600, "server01", null, 98.6],
[1725339073875906000, "server01", null, 98.6],
[1725339073876347100, "server01", null, 98.6],
[1725342087314205200, "server01", null, 98.6],
[1725343857209643000, "server01", null, 98.6],
[1725343860480313900, "server01", null, 98.6],
[1725343860480851700, "server01", null, 98.6],
[1725345342428659500, "server01", null, 98.6]
]
}]
}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Edit this page on GitHub (opens new window)
Last Updated: 2024/10/29, 13:25:01