Commit ab860d2
API improvements (#122)
* Set specific User-Agent in API client
The API client should transmit a meaningful `User-Agent` header that
will allow us clearly identify users of this API client.
* Do not report now timestamps
Instana's API optimizes the `now` case. This optimization works best
when the `time` parameter isn't defined (this means `now`).
We should therefore let the API identify what `now` means and because of
that let all the optimizations kick in.1 parent 35e7753 commit ab860d2
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
275 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
276 | 278 | | |
277 | | - | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
282 | | - | |
283 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
284 | 286 | | |
285 | | - | |
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| |||
0 commit comments