Skip to content

Instantly share code, notes, and snippets.

View drichardson's full-sized avatar

Doug Richardson drichardson

View GitHub Profile
@drichardson
drichardson / datadog_metrics_cursor_bug_output.txt
Created March 26, 2026 04:02
Datadog GET /api/v2/metrics links.next cursor bug - script output
Step 1: GET https://api.datadoghq.com/api/v2/metrics?filter[configured]=false&page[size]=1000
Status: 200
Items returned: 1000
next_cursor length: 12304 chars
links.next length: 12383 chars
Step 2: GET https://api.datadoghq.com/api/v2/metrics?filter[configured]=false&page[cursor]=4e7a6732596b4a445356686152315a3559566861624670474f58526157464a355956644f656c6779526d35614d30706d545552465631457a576d6c4f534842315644424f55325649566d394d565456705931553065564674556e4e6b64306c43526d356f4e464a71536e5250557a423656587073564752584f57785053464a515632773564553959593046425555464251554642516d525461466447615441785956644f57553173546b52564d4778495431565a64314a57627a4254625852325446646a515551794d57786b5345707757544e4f5a6c6c585a47356a624468335458686154564e4961444e6b523364305a455a4b516d4a5862484a594d445630596d747761565a71556d354364305658556c5a77615752496347315552555a56556c524b626c5657536c6c69566c5a455455686b636c565251554a42515546425155464b4e585252613164614d44564c546a42734e55394865464e4e566b303057544647516d5649536e686b625570