rocketraman
11/02/2022, 3:35 PMrobert
11/02/2022, 3:48 PMAnyone using ktor + micrometer metrics + google cloud stackdriver?Yes for ktor + micrometer. Not using stackdriver though. From the sound of your message, we are also running on GCP. We are getting nowhere near those costs. Could it be you are logging A LOT since that could be the big different? Maybe something about your code being in one region and stackdriver somewhere else and you paying ingress and egress for everything?
rocketraman
11/02/2022, 3:50 PMMicrometerMetrics
plugin with a StackdriverMeterRegistry
.
According to Google, to take one representative day as an example, Google ingested 64.16 MiB of data for the requests
metric, plus 6.42 MiB each for the requests/px
, request/count
, and requests/max
metrics, for a total of 102.68 MiB.
According to my logs, I received only 1085 request for the entire day, so Google is implying each metric received is around 100 Kbs of data. Looking at the ktor plugin code, I don't see how that much data is possible for each metric.rocketraman
11/02/2022, 4:06 PMrocketraman
11/02/2022, 4:08 PM