This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-03
Channels
- # announcements (8)
- # aws (2)
- # babashka (16)
- # beginners (173)
- # calva (13)
- # cider (4)
- # cljfx (6)
- # cljs-dev (108)
- # clojure (63)
- # clojure-australia (2)
- # clojure-dev (10)
- # clojure-europe (73)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojurescript (49)
- # clojureverse-ops (4)
- # community-development (3)
- # core-async (23)
- # cursive (3)
- # data-science (5)
- # datomic (25)
- # emacs (3)
- # events (1)
- # fulcro (13)
- # helix (5)
- # introduce-yourself (1)
- # lein-figwheel (1)
- # lsp (36)
- # malli (1)
- # meander (2)
- # membrane (4)
- # music (8)
- # nextjournal (51)
- # off-topic (47)
- # other-languages (5)
- # pathom (31)
- # pedestal (5)
- # planck (14)
- # polylith (5)
- # portal (1)
- # re-frame (30)
- # react (2)
- # reagent (24)
- # releases (1)
- # rewrite-clj (18)
- # ring (9)
- # sci (33)
- # shadow-cljs (49)
- # testing (3)
- # tools-build (21)
- # tools-deps (29)
- # vim (19)
- # web-security (1)
- # xtdb (12)
btw, just noticed that on page https://docs.xtdb.com/clients/http/ the link "OpenAPI documentation https://xtdb-api-docs.s3.eu-west-1.amazonaws.com/redoc/1.20.0/xtdb-redoc.html." leads to a NoSuchBucket error
ah, it looks like we added new link for it at the top of the page (which is up-to-date @ https://docs.xtdb.com/clients/http/openapi/1.20.0) but forgot to remove/fix that link further down, thanks for mentioning it 🙏
• high-resolution?
(boolean, default false): increase push rate from 1 minute to 1 second... I haven't set it in cloudwatch reporter but I'm still seeing a PutMetricData call every 5 seconds
{ "context": "default", "level": "DEBUG", "logger": "io.github.azagniotov.metrics.reporter.cloudwatch.CloudWatchReporter", "message": "Sent 70 metric datums to CloudWatch. Namespace: xtdb.metrics.cloudwatch, metric data [MetricDatum(MetricName=jvm.buffers.direct.capacity,...long list of metrics ...
looking at the code, it doesn't look like high resolution changes API call rate but sets the storage resolution in the AWS cloudwatch API
the dry-run-report-frequency
option affects how often the cloudwatch put request is made (not just dry run mode)
I'm not particularly booted-up in this area, but it does seem like our docs on this are missing some important detail - have you tried setting :dry-run-report-frequency
?
snap 😄 yes I think we need another config option, e.g. :report-period
(and an or
here) https://github.com/xtdb/xtdb/blob/e2f51ed99fc2716faa8ad254c0b18166c937b134/modules/metrics/src/xtdb/metrics/cloudwatch.clj#L68