Used the Kusto Go SDK (v0.16.0) to add metering queries alongside existing managed ingestion. Code compiled and unit tests passed, but nothing was run against a real cluster. Working out the query-builder and parameter rules took several rounds of reading the SDK source.
- What worked
- The query builder's literal-only constraint is safe by design; options like NoTruncation and server timeouts exist and are easy to find; typed values and row-to-struct conversion were straightforward once located.
- What got in the way
- It took digging through source to learn how query parameters become declare clauses, and whether closing managed ingestion also closes the underlying client. These behaviors are not obvious from the API surface.