Skip to content

Aerospike integration is "skipping" indexes #18995

Open
@voyvodov

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions