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

feat: improved filtering function API #579

Merged
merged 1 commit into from
Sep 13, 2018
Merged

Conversation

watson
Copy link
Contributor

@watson watson commented Sep 12, 2018

Changes the agent.addFilter() function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

  • agent.addErrorFilter()
  • agent.addTransactionFilter()
  • agent.addSpanFilter()

BREAKING CHANGE: The agent.addFilter() API have changed.

Checklist

  • Implement code
  • Add tests
  • Update documentation

@watson watson self-assigned this Sep 12, 2018
@watson watson requested a review from Qard September 12, 2018 20:33
@watson watson mentioned this pull request Sep 12, 2018
21 tasks
@Qard
Copy link
Contributor

Qard commented Sep 12, 2018

LGTM other than failing tests. Seems to be because the abort tests expect no connection to be made, but should it not be that a connection is made, but no data is sent?

@watson
Copy link
Contributor Author

watson commented Sep 12, 2018

I'll rebase once #580 is merged which fixes the tests

@watson watson force-pushed the filters branch 3 times, most recently from 69d382c to efb7749 Compare September 13, 2018 07:49
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
@watson watson merged commit 5871c83 into elastic:api-v2 Sep 13, 2018
@watson watson deleted the filters branch September 13, 2018 09:29
watson added a commit that referenced this pull request Sep 13, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit that referenced this pull request Oct 19, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit to watson/apm-agent-nodejs that referenced this pull request Oct 27, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
Qard pushed a commit that referenced this pull request Oct 31, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit to watson/apm-agent-nodejs that referenced this pull request Nov 6, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit that referenced this pull request Nov 6, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
Qard pushed a commit that referenced this pull request Nov 8, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit that referenced this pull request Nov 10, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit to watson/apm-agent-nodejs that referenced this pull request Nov 13, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit to watson/apm-agent-nodejs that referenced this pull request Nov 13, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
watson added a commit to watson/apm-agent-nodejs that referenced this pull request Nov 13, 2018
Changes the `agent.addFilter()` function to be called once per event
instead of with an array of events.

Besides the existing filtering function, three new custom filtering
functions have been added:

- `agent.addErrorFilter()`
- `agent.addTransactionFilter()`
- `agent.addSpanFilter()`

BREAKING CHANGE: The `agent.addFilter()` API have changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants