Peter Bourgon
Peter Bourgon
~You can change the poll intervals.~ _edit_: Not the actual real-time stats interval, though — see below.
Actually, just for my understanding... The real-time API takes a Unix timestamp as input, and returns after an arbitrary period of time with, essentially, deltas of all the stats. So...
I dug around in the docs for about 15m and couldn't figure out how to do this. Given [this is how metrics are updated](https://github.com/peterbourgon/fastly-exporter/blob/9c6e59c325b54248d9c64464304e54053c29a8ee/pkg/gen/gen.go#L544) how should I apply a specific...
I guess I don't really understand how timestamps will help here. Are you saying to use a timestamp of the response_ts? Are you seeing that as substantially different than the...
> By including the timestamp, we align the data with the actual time window of what it represents. Ah, but the returned data always lags the truth to at least...
I'm sure I'm being dense here but I still don't understand how a difference of less than a second — which is the granularity of the data itself — is...
> The problem is that the API is crazy jittery In my tests it has a delta of like +/- 1s. Is that a lot? And any exporter which is...
JSON is defined by a spec which doesn't guarantee any of the characteristics you list here. If you want to rely on them you're no longer accepting JSON input, you're...
Wow! My first user! 🥺 This is basically where I left things when I was last working on it with serious attention. Your timing is not bad, I've recently started...
Great, thanks for the context. Do you run multiple instances of that service?