Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/aerospikereceiver] Add query metrics. #13295

Merged
merged 32 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b9cddd7
prototype cluster client
dwelch-spike Jun 27, 2022
98253f8
cluster and node types, client support for variable number of nodes
dwelch-spike Jun 28, 2022
0e05f94
task: client tests
dwelch-spike Jun 30, 2022
c33b8d7
task: make client connect once, bug fixes, tests
dwelch-spike Jul 1, 2022
ac3ab47
task: cluster tests
dwelch-spike Jul 1, 2022
c406d6b
task: remove debug asclient logging
dwelch-spike Jul 1, 2022
941c66a
Merge branch 'open-telemetry:main' into aerospikereceiver-perf
dwelch-spike Jul 1, 2022
8aab337
task: remove old todos
dwelch-spike Jul 1, 2022
261eecc
task: merge main into aerospikereceiver-perf
dwelch-spike Jul 15, 2022
c0f0cd5
task: add changelog entry
dwelch-spike Jul 15, 2022
018a471
Merge branch 'open-telemetry:main' into aerospikereceiver-perf
dwelch-spike Jul 15, 2022
afd23ad
task: update go mod and sum
dwelch-spike Jul 15, 2022
c5cf430
task: run make gotidy, goimports with local
dwelch-spike Jul 21, 2022
3c53927
task: skip life cycle test
dwelch-spike Jul 21, 2022
8256183
task: attempt connection to aerospike on startup but don't fail, reve…
dwelch-spike Jul 27, 2022
8d2fbf2
task: change scrape test to expect nil err on start
dwelch-spike Jul 28, 2022
e44beb5
task: remove receiver_test whitespace, sugar logger once
dwelch-spike Jul 28, 2022
ff0242b
ignore node name attribute during integration tests
dwelch-spike Jul 28, 2022
871a3f5
Merge branch 'open-telemetry:main' into aerospikereceiver-perf
dwelch-spike Jul 28, 2022
7943ed3
task: change subsett to subset
dwelch-spike Jul 28, 2022
3b4c216
Merge branch 'aerospikereceiver-perf' of github.com:dwelch-spike/open…
dwelch-spike Jul 28, 2022
e01d335
task: start adding query metrics
dwelch-spike Jul 28, 2022
791d777
task: merge main into aerospikereceiver-metrics
dwelch-spike Aug 10, 2022
17343dc
feat: add query count metrics
dwelch-spike Aug 10, 2022
e49eff3
Merge branch 'open-telemetry:main' into aerospikereceiver-metrics
dwelch-spike Aug 10, 2022
bb4452e
Merge branch 'open-telemetry:main' into aerospikereceiver-metrics
dwelch-spike Aug 11, 2022
06492c4
feat: add geojson and query_tracked metrics
dwelch-spike Aug 12, 2022
403a7d9
task: change geo query metric names, update descriptions
dwelch-spike Aug 12, 2022
d50d155
Merge branch 'open-telemetry:main' into aerospikereceiver-metrics
dwelch-spike Aug 12, 2022
bb5367d
Delete aerospikereceiver-perf.yaml
dwelch-spike Aug 12, 2022
b68b659
capitalize add
dwelch-spike Aug 16, 2022
18436ed
Merge branch 'main' of github.com:dwelch-spike/opentelemetry-collecto…
dwelch-spike Aug 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions receiver/aerospikereceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ These are the metrics available for this scraper.
| Name | Description | Unit | Type | Attributes |
| ---- | ----------- | ---- | ---- | ---------- |
| **aerospike.namespace.disk.available** | Minimum percentage of contiguous disk space free to the namespace across all devices | % | Gauge(Int) | <ul> </ul> |
| **aerospike.namespace.geojson.region_query_cells** | Number of cell coverings for query region queried Number of cell coverings for query region queried. Aerospike metric geo_region_query_cells. | {cells} | Sum(Int) | <ul> </ul> |
| **aerospike.namespace.geojson.region_query_false_positive** | Number of points outside the region. Total query result points is geo_region_query_points + geo_region_query_falsepos. Aerospike metric geo_regio_query_falspos. | {points} | Sum(Int) | <ul> </ul> |
| **aerospike.namespace.geojson.region_query_points** | Number of points within the region. Total query result points is geo_region_query_points + geo_region_query_falsepos. Aerospike metric geo_region_query_points. | {points} | Sum(Int) | <ul> </ul> |
| **aerospike.namespace.geojson.region_query_requests** | Number of geojson queries on the system since the uptime of the node. Number of geojson queries on the system since the uptime of the node. Aerospike metric geo_region_query_reqs. | {queries} | Sum(Int) | <ul> </ul> |
| **aerospike.namespace.memory.free** | Percentage of the namespace's memory which is still free Aerospike metric memory_free_pct | % | Gauge(Int) | <ul> </ul> |
| **aerospike.namespace.memory.usage** | Memory currently used by each component of the namespace Aggregate of Aerospike Metrics memory_used_data_bytes, memory_used_index_bytes, memory_used_set_index_bytes, memory_used_sindex_bytes | By | Sum(Int) | <ul> <li>namespace_component</li> </ul> |
| **aerospike.namespace.query.count** | Number of query operations performed on the namespace Aggregate of Aerospike Metrics query_aggr_abort, query_aggr_complete, query_aggr_error, query_basic_abort, query_basic_complete, query_basic_error, query_ops_bg_abort, query_ops_bg_complete, query_ops_bg_error, query_udf_bg_abort, query_udf_bg_complete, query_udf_bg_error, pi_query_aggr_abort, pi_query_aggr_complete, pi_query_aggr_error, pi_query_long_basic_abort, pi_query_long_basic_complete, pi_query_long_basic_error, pi_query_ops_bg_abort, pi_query_ops_bg_basic_complete, pi_query_ops_bg_basic_error, pi_query_short_basic_timeout, pi_query_short_basic_complete, pi_query_short_basic_error, pi_query_udf_bg_abort, pi_query_udf_bg_complete, pi_query_udf_bg_error, si_query_aggr_abort, si_query_aggr_complete, si_query_aggr_error, si_query_long_basic_abort, si_query_long_basic_complete, si_query_long_basic_error, si_query_ops_bg_abort, si_query_ops_bg_basic_complete, si_query_ops_bg_basic_error, si_query_short_basic_timeout, si_query_short_basic_complete, si_query_short_basic_error, si_query_udf_bg_abort, si_query_udf_bg_complete, si_query_udf_bg_error | {queries} | Sum(Int) | <ul> <li>query_type</li> <li>index_type</li> <li>query_result</li> </ul> |
| **aerospike.namespace.scan.count** | Number of scan operations performed on the namespace Aggregate of Aerospike Metrics scan_aggr_abort, scan_aggr_complete, scan_aggr_error, scan_basic_abort, scan_basic_complete, scan_basic_error, scan_ops_bg_abort, scan_ops_bg_complete, scan_ops_bg_error, scan_udf_bg_abort, scan_udf_bg_complete, scan_udf_bg_error | {scans} | Sum(Int) | <ul> <li>scan_type</li> <li>scan_result</li> </ul> |
| **aerospike.namespace.transaction.count** | Number of transactions performed on the namespace Aggregate of Aerospike Metrics client_delete_error, client_delete_filtered_out, client_delete_not_found, client_delete_success, client_delete_timeout, client_read_error, client_read_filtered_out, client_read_not_found, client_read_success, client_read_timeout, client_udf_error, client_udf_filtered_out, client_udf_not_found, client_udf_success, client_udf_timeout, client_write_error, client_write_filtered_out, client_write_not_found, client_write_success, client_write_timeout | {transactions} | Sum(Int) | <ul> <li>transaction_type</li> <li>transaction_result</li> </ul> |
| **aerospike.node.connection.count** | Number of connections opened and closed to the node Aggregate of Aerospike Metrics client_connections_closed, client_connections_opened, fabric_connections_closed, fabric_connections_opened, heartbeat_connections_closed, heartbeat_connections_opened | {connections} | Sum(Int) | <ul> <li>connection_type</li> <li>connection_op</li> </ul> |
| **aerospike.node.connection.open** | Current number of open connections to the node Aggregate of Aerospike Metrics client_connections, fabric_connections, heartbeat_connections | {connections} | Sum(Int) | <ul> <li>connection_type</li> </ul> |
| **aerospike.node.memory.free** | Percentage of the node's memory which is still free Aerospike Metric system_free_mem_pct | % | Gauge(Int) | <ul> </ul> |
| **aerospike.node.query.tracked** | Number of queries tracked by the system. Number of queries which ran more than query untracked_time (default 1 sec), Aerospike metric query_tracked | | Sum(Int) | <ul> </ul> |

**Highlighted metrics** are emitted by default. Other metrics are optional and not emitted by default.
Any metric can be enabled or disabled with the following scraper configuration:
Expand All @@ -39,7 +45,10 @@ metrics:
| ---- | ----------- | ------ |
| connection_op (operation) | Operation performed with a connection (open or close) | close, open |
| connection_type (type) | Type of connection to an Aerospike node | client, fabric, heartbeat |
| index_type (index) | Type of index the operation was performed on | primary, secondary |
| namespace_component (component) | Individual component of a namespace | data, index, set_index, secondary_index |
| query_result (result) | Result of a query operation performed on a namespace | abort, complete, error, timeout |
| query_type (type) | Type of query operation performed on a namespace | aggregation, basic, short, long_basic, short_basic, ops_background, udf_background |
| scan_result (result) | Result of a scan operation performed on a namespace | abort, complete, error |
| scan_type (type) | Type of scan operation performed on a namespace | aggregation, basic, ops_background, udf_background |
| transaction_result (result) | Result of a transaction performed on a namespace | error, filtered_out, not_found, success, timeout |
Expand Down
Loading