Skip to content

[apm] trace search#485

Merged
truthbk merged 12 commits intomasterfrom
edwin/apm-trace-search
Jan 22, 2019
Merged

[apm] trace search#485
truthbk merged 12 commits intomasterfrom
edwin/apm-trace-search

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 31, 2018

Corrected PR origin now submitting again.

Missing Spec test code, would like some help with that if possible. I have added and updated the manifest, param and init.pp files with the ability to automate the trace search & analytics configuration in the datadog.yaml file.

Comment thread README.md Outdated
Comment thread templates/datadog_footer.conf.erb Outdated
Comment thread instagram-access.sh Outdated
Comment thread README.md Outdated
Comment thread templates/datadog_footer.conf.erb Outdated
@irabinovitch irabinovitch requested a review from truthbk January 7, 2019 02:36
Copy link
Copy Markdown

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, but given that I have no experience with Ruby or Puppet, it'd be nice if we could try it out and make sure it's working before merging. Also, CI is failing.

Copy link
Copy Markdown
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please add some spec tests for the feature? It will give us a good sense of how the code is performing and keep us honest in the future.

Comment thread manifests/init.pp Outdated
Comment thread manifests/params.pp Outdated
Comment thread templates/datadog_footer.conf.erb Outdated
@truthbk truthbk changed the title Edwin/apm trace search [apm] trace search Jan 18, 2019
Copy link
Copy Markdown
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no A6 configuration management added in the PR, and we're still missing spec tests.

Comment thread templates/datadog_footer.conf.erb Outdated
apm_enabled: <%= @apm_enabled %>

# Enable and the trace search & analytics by adding a list of entered APM events.
<% if ! @apm_analyzed_spans.nil? -%>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that given the way this has been defined to use types we can probably just do:

<% if @apm_analyzed_spans -%>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes very good point.

@truthbk truthbk force-pushed the edwin/apm-trace-search branch from 7759a50 to b03b8a3 Compare January 21, 2019 23:26
@truthbk
Copy link
Copy Markdown
Member

truthbk commented Jan 22, 2019

Issues addressed:

  • Modified init parameter to be an Optional Hash where the key is the span name in the form service|request' and the key is a Float[0, 1]` as expected by the service.
  • Added support for both A5 and A6.
  • Added spec tests

Merging.

@truthbk truthbk merged commit 6b7f5c8 into master Jan 22, 2019
@truthbk truthbk deleted the edwin/apm-trace-search branch January 22, 2019 15:05
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Apr 6, 2020
* Added the ability to apm events for trace search

* [apm] adding apm_analyzed_spans for A6

* [apm] adding support for APM analyze spans in A5 + changing argument to hash

* [readme] docs + broken table + init description
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

Successfully merging this pull request may close these issues.

3 participants