Commit graph

  • b52d7611a6
    Merge pull request #19 from imandra-ai/metrics-utils Simon Cruanes 2022-04-30 13:26:39 -04:00
  • 080e0de138
    Update src/opentelemetry.ml Simon Cruanes 2022-04-30 13:26:12 -04:00
  • 5b3f49890b
    test: use Metrics_callbacks from emit1 Simon Cruanes 2022-04-29 16:50:52 -04:00
  • 6744123075
    feat(otel): Metrics_callbacks module Simon Cruanes 2022-04-29 16:50:06 -04:00
  • 198027a519
    add histogram metrics (untested) Simon Cruanes 2022-04-28 10:17:36 -04:00
  • 8c363341e5
    chore: require ocaml-protoc 2.2 Simon Cruanes 2022-04-28 10:03:08 -04:00
  • 9e19e323db
    update example Simon Cruanes 2022-04-15 21:53:52 -04:00
  • 619b389322
    type error fixed Simon Cruanes 2022-04-15 21:53:43 -04:00
  • 1bedb57123
    feat: implement basic support for logs Simon Cruanes 2022-04-15 21:35:42 -04:00
  • 64df05d010
    wip: support logs in the API Simon Cruanes 2022-04-15 17:52:34 -04:00
  • 4bc5e2f5d1
    update readme Simon Cruanes 2022-04-27 16:53:50 -04:00
  • a6d7a660d4 deploy: 2149bb0714 c-cube 2022-04-26 14:15:26 +00:00
  • 2149bb0714
    fix: proper starting point for cumulative metrics Simon Cruanes 2022-04-26 10:08:56 -04:00
  • 67bc9c87ef deploy: 62f3bb8b03 c-cube 2022-04-20 16:47:44 +00:00
  • 62f3bb8b03
    expose tick function Simon Cruanes 2022-04-20 12:42:47 -04:00
  • f95b5f8a23 deploy: 51cebfd383 c-cube 2022-04-19 17:38:15 +00:00
  • 31933c9369
    doc: update readme to list env vars Simon Cruanes 2022-04-19 13:28:00 -04:00
  • 9d4bb5a97f
    feat: debug the library is set via OTEL_OCAML_DEBUG Simon Cruanes 2022-04-19 13:27:07 -04:00
  • 51cebfd383
    Merge pull request #16 from AestheticIntegration/set-global-attrs Simon Cruanes 2022-04-19 13:28:33 -04:00
  • ae5c9cd105 deploy: 01b31b471c c-cube 2022-04-16 01:59:24 +00:00
  • 01b31b471c
    doc: improve docs for main module Simon Cruanes 2022-04-15 17:52:22 -04:00
  • c950ffc885
    feat: use a ref for Globals.global_attributes Simon Cruanes 2022-04-15 08:59:13 -04:00
  • c01879c4b0
    refactor(client): split into several modules Simon Cruanes 2022-04-13 16:28:23 -04:00
  • 06cbe55d11
    chore: use dune 2.7 so that subst works (for the version field) Simon Cruanes 2022-04-12 16:46:26 -04:00
  • 20cc772682
    fix Simon Cruanes 2022-04-12 14:14:36 -04:00
  • 3448e33d29
    fix: same Simon Cruanes 2022-04-12 13:53:24 -04:00
  • 2c1c67bfe8
    fix: emit traces, too Simon Cruanes 2022-04-12 13:50:50 -04:00
  • 314f332240 deploy: 3f3a39eee7 c-cube 2022-04-12 17:49:47 +00:00
  • 3f3a39eee7
    Merge pull request #15 from AestheticIntegration/missing-global-attrs Simon Cruanes 2022-04-12 13:44:17 -04:00
  • 71b999a5b7
    use conventions Simon Cruanes 2022-04-12 12:04:49 -04:00
  • fcedc819ce deploy: d69da69c48 c-cube 2022-04-12 16:02:08 +00:00
  • c362899ff1
    add global attributes to metrics as well; add library version Simon Cruanes 2022-04-12 09:57:24 -04:00
  • 7af92b5589
    minor refactoring Simon Cruanes 2022-04-12 09:39:42 -04:00
  • d69da69c48
    Merge pull request #14 from AestheticIntegration/runtime-metrics Simon Cruanes 2022-04-12 11:56:12 -04:00
  • 1919154085 add runtime attrs to GC stats Matt Bray 2022-04-12 16:26:08 +01:00
  • 66693280ec expose GC_metrics.get_runtime_attributes Matt Bray 2022-04-12 16:25:52 +01:00
  • bf4ac37f21 feat: use runtime metric conventions; add runtime attributes Matt Bray 2022-03-28 18:12:12 +01:00
  • 7ed4d27ba0 deploy: ba70c5d71b Bronsa 2022-04-12 14:30:26 +00:00
  • ba70c5d71b chore: add version Nicola Mometto 2022-04-12 15:24:59 +01:00
  • 1ca14b3a51
    fix: name of metrics Simon Cruanes 2022-04-11 18:16:50 -04:00
  • f78a2214e5 deploy: 1b1b980211 c-cube 2022-04-11 20:37:48 +00:00
  • 1b1b980211
    test: in emit1, use GC_metrics Simon Cruanes 2022-04-11 16:33:05 -04:00
  • 3d0d031bcd
    fix: yet another fix for emitting GC metrics Simon Cruanes 2022-04-11 16:29:59 -04:00
  • 786ebb611a
    ocurl-client: reset needs_gc_metrics Simon Cruanes 2022-04-11 15:29:32 -04:00
  • b232b6960a deploy: 5180be31bc c-cube 2022-04-11 17:19:59 +00:00
  • 5180be31bc
    feat(collector): move GC metrics logic to the collector Simon Cruanes 2022-04-11 13:09:13 -04:00
  • 591cbad4b2
    rename some GC metrics v0.1 Simon Cruanes 2022-03-31 16:20:36 -04:00
  • 6722c49bb0
    feat(curl-client): block some signals in background thread(s) Simon Cruanes 2022-03-30 11:53:19 -04:00
  • 2fc7139821 deploy: 8f2a666a70 c-cube 2022-03-28 20:49:18 +00:00
  • 8f2a666a70
    feat: relax type for Trace.with_ so it's covariant in attrs Simon Cruanes 2022-03-28 15:00:16 -04:00
  • 46487f3997
    gc metrics: count in bytes, not words Simon Cruanes 2022-03-28 14:31:01 -04:00
  • 5652241fef deploy: fdd4582a2f c-cube 2022-03-28 15:43:42 +00:00
  • fdd4582a2f
    util: add module to emit some GC metrics Simon Cruanes 2022-03-28 11:37:17 -04:00
  • efbb3469c6 fix: no List.find_map in ocaml 4.08 service-name Matt Bray 2022-03-28 15:06:32 +01:00
  • 1cd536cb8e refactor: get_global_attr_ Matt Bray 2022-03-28 15:03:12 +01:00
  • 20efd01366 feat: set default Globals.service_name{,space} from OTEL_RESOURCE_ATTRIBUTES Matt Bray 2022-03-28 14:54:29 +01:00
  • a9f17ef54b
    refactor emit1 Simon Cruanes 2022-03-28 09:36:21 -04:00
  • 0210008a3c deploy: 89dae63114 mattjbray 2022-03-25 16:19:53 +00:00
  • 89dae63114
    Merge pull request #11 from AestheticIntegration/trace-with-scope Matt Bray 2022-03-25 16:14:37 +00:00
  • d92a9be08a feat: allow passing ~scope back to Trace.with_ Matt Bray 2022-03-25 15:56:01 +00:00
  • 9c0b8b3dd1 deploy: 2d220b20af c-cube 2022-03-25 15:11:35 +00:00
  • 2d220b20af
    ocurl backend: ticker thread Simon Cruanes 2022-03-25 11:06:34 -04:00
  • 5aa996e4eb deploy: b67fc00821 mattjbray 2022-03-25 12:03:13 +00:00
  • 078e8b416d chore: build opentelemetry-cohttp-lwt in CI Matt Bray 2022-03-25 11:59:00 +00:00
  • b67fc00821
    Merge pull request #10 from AestheticIntegration/matt/cohttp-client Matt Bray 2022-03-25 11:57:32 +00:00
  • 56699d02fc deploy: 1046ec2bf6 mattjbray 2022-03-25 11:42:21 +00:00
  • 1046ec2bf6
    Merge pull request #9 from AestheticIntegration/matt/cohttp Matt Bray 2022-03-25 11:36:39 +00:00
  • 0ad2d3f641 feat(cohttp): trace post_form Matt Bray 2022-03-24 23:10:11 +00:00
  • 5e8affe508 fix(cohttp): use correct scope for traceparent header Matt Bray 2022-03-24 22:06:02 +00:00
  • 82bcebbb89 chore(cohttp): optional service_name Matt Bray 2022-03-24 21:01:56 +00:00
  • 32fec9b2f5 chore(cohttp): trace more methods Matt Bray 2022-03-24 20:40:55 +00:00
  • c8391fc522 test(cohttp): client bin Matt Bray 2022-03-24 19:44:33 +00:00
  • c5e789c2d8 wip(cohttp): traced client Matt Bray 2022-03-24 18:47:45 +00:00
  • f44c524ad0 feat(cohttp/server): put the trace scope in the request Matt Bray 2022-03-25 10:56:01 +00:00
  • 78f2e7bde4 refactor Matt Bray 2022-03-25 09:32:34 +00:00
  • e17fb1dfb7 feat(cohttp): pass scope to callback Matt Bray 2022-03-24 18:12:13 +00:00
  • 94ecad7866 deploy: 2bff7897f7 c-cube 2022-03-24 18:08:24 +00:00
  • 70e423804e deploy: 15511a7517 c-cube 2022-03-24 18:07:45 +00:00
  • 2bff7897f7
    doc Simon Cruanes 2022-03-24 14:03:54 -04:00
  • 15511a7517
    docs Simon Cruanes 2022-03-24 14:02:45 -04:00
  • 75f1612ab0 feat(cohttp): pass attrs Matt Bray 2022-03-24 17:56:29 +00:00
  • 2d62671d07 refactor(cohttp): wrap in Server module Matt Bray 2022-03-24 17:50:33 +00:00
  • 1a06b1f473 deploy: c419a61815 mattjbray 2022-03-24 17:49:17 +00:00
  • c9dbab94f9 feat(cohttp): read trace context from traceparent header Matt Bray 2022-03-24 17:44:18 +00:00
  • a1115661b4 wip: cohttp integration Matt Bray 2022-03-24 13:46:06 +00:00
  • c419a61815
    Merge pull request #8 from AestheticIntegration/matt/traceparent Matt Bray 2022-03-24 17:38:03 +00:00
  • 0cd75d5a6d use Bytes.unsafe_to_string Matt Bray 2022-03-24 17:36:45 +00:00
  • 1e96404502 feat: raise Invalid_argument for bad hex values Matt Bray 2022-03-24 17:35:20 +00:00
  • 0326a8a9a2 feat: parse W3C traceparent header Matt Bray 2022-03-24 17:09:44 +00:00
  • 25da9c4ccc
    tiny refactor Simon Cruanes 2022-03-24 11:25:59 -04:00
  • 6361acb8dc deploy: 901730583c c-cube 2022-03-24 15:08:09 +00:00
  • 901730583c
    remove over from backend Simon Cruanes 2022-03-24 10:59:37 -04:00
  • 5d38138718 deploy: 9e0cd0acc9 actionshrimp 2022-03-24 14:51:58 +00:00
  • 9e0cd0acc9
    Merge pull request #7 from AestheticIntegration/dave-and-matt/sync-lwt-collection Dave Aitken 2022-03-24 14:45:52 +00:00
  • b52d9d02e0
    fire-and-forget sending of spans to collector so we dont block userland dave-and-matt/sync-lwt-collection Dave Aitken 2022-03-24 11:22:21 +00:00
  • 39b9fc6085 deploy: 1a2b3aa398 actionshrimp 2022-03-24 14:18:18 +00:00
  • 1a2b3aa398
    Merge pull request #6 from AestheticIntegration/dave-and-matt/add-attrs Dave Aitken 2022-03-24 14:13:16 +00:00
  • 1ca6497a73
    add add_attrs helper to add attrs to existing scope Dave Aitken 2022-03-24 14:10:12 +00:00
  • 3ba9e9aa93 deploy: 8c1d658ab9 c-cube 2022-03-23 22:54:50 +00:00
  • 8c1d658ab9
    add to_hex/of_hex for span id/trace id Simon Cruanes 2022-03-23 18:49:32 -04:00