Skip to content

Provide datadog metrics on component draftset operations #608

@RickMoynihan

Description

@RickMoynihan

We currently give datadog metrics on drafter.sparql.update.time which reports metrics on arbitrary sparql updates.

https://github.com/Swirrl/drafter/blob/master/drafter/src/drafter/rdf/sparql.clj#L40

It would be useful to break this down by operation too, to give us a little more visibility on what is happening and where time is spent.

The above function is called from approximately 21 other call sites e.g.

  • drafter.backend.draftset.draft-management/upsert-single-object!
  • drafter.backend.draftset.operations/delete-draftset-statements!
  • ...

I think it makes sense to wrap a datadog/measure! over most (if not all) of these call sites to provide more visibility, on what is happening; and then surface this in our datadog boards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions