Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide datadog metrics on component draftset operations #608

Open
RickMoynihan opened this issue Apr 14, 2022 · 0 comments
Open

Provide datadog metrics on component draftset operations #608

RickMoynihan opened this issue Apr 14, 2022 · 0 comments

Comments

@RickMoynihan
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant