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

Aerospike integration is "skipping" indexes #18995

Open
voyvodov opened this issue Nov 6, 2024 · 0 comments
Open

Aerospike integration is "skipping" indexes #18995

voyvodov opened this issue Nov 6, 2024 · 0 comments

Comments

@voyvodov
Copy link
Contributor

voyvodov commented Nov 6, 2024

The integration for Aerospike doesn't collect stats for last index in each namespace.

So, for an example, if have namespace with 10 sindexes, datadog returns info only for 9 of them.

It doesn't matter how namespace or index is named.

Pooling data manually with the python client returns correct number of indexes e.g.

>>> import aerospike
>>> client_config = {'hosts': ['localhost:3000']}
>>> client = aerospike.client(client_config).connect('','')
>>> client.info_single_node('sindex/test', 'BB99C1AE21F2A3E',{})
'sindex/test\tns=dagger:indexname=sifts-kv_prefix_idx:set=sifts-kv:bin=prefix:type=string:indextype=default:context=null:state=RW;ns=dagger:indexname=sifts-kv_ds_idx:set=sifts-kv:bin=ds:type=string:indextype=default:context=null:state=RW;ns=dagger:indexname=sifts-kv_index0_idx:set=sifts-kv:bin=index0:type=numeric:indextype=default:context=null:state=RW;ns=dagger:indexname=sifts-kv_index1_idx:set=sifts-kv:bin=index1:type=numeric:indextype=default:context=null:state=RW\n'

However, datadog doesn't return info for sifts-kv_index1_idx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant