Commit Graph

18 Commits

Author SHA1 Message Date
Bogdan Drutu 2a54e941a4
Move more old internal structs to old files, and rename funcs with Old (#1662)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-27 21:53:55 -07:00
Bogdan Drutu 42ac0eeafc
Move previous internal metrics package to dataold (#1658)
Need to re-generate the new internal metrics, but it is too much code to change,
so will move this to dataold (was internal anyway, so no public breaking change).

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-27 20:19:39 -07:00
Jay Camp 1e65674799
Update copyright (#1597)
* Update copyright

* rebase
2020-08-19 18:25:44 -07:00
Ben Keith 4896d31e1e
Make Logs Type Non-internal (#1456)
This allows Logs to be used in the contrib repo.

Most of the references were fixed by sed + 'make fmt'.
2020-07-29 16:58:32 -04:00
Bogdan Drutu 2b37a30aa7
Use Logs as prefix for all components instead of Log (#1416)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-22 10:48:55 -07:00
Bogdan Drutu afc47961e0
Add processor helper. In the future add metrics and tracing (#1359)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-15 12:26:39 -07:00
Bogdan Drutu 0c7de066d7
Add helper processor factory to reduce boilerplate (#1339)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-13 21:50:01 -07:00
Ben Keith faedf1dbdc
Log Support for memorylimiter Processor (#1291)
This adds the ability to use the memorylimiter process in log pipelines.
2020-07-08 10:47:18 -04:00
Bruno Garcia 8aa2731844
Remove year from copyright (#964) 2020-05-26 12:44:22 -04:00
Bogdan Drutu a637b41c22
Change entire repo to use the new vanityurl go.opentelemetry.io/collector (#977)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 12:04:05 -07:00
Bogdan Drutu 5e3b4e2cee
Add pdata.Metrics with an opaque internal data. (#839)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-16 09:01:18 -07:00
Bogdan Drutu c355dff685
Change pdata.TraceData -> pdata.Traces and ConsumeTrace -> ConsumeTraces (#837)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-15 16:20:51 -07:00
Bogdan Drutu 0be3aa744f
Change memorylimiter processor to use the new data (#827)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-15 15:33:42 -07:00
Bogdan Drutu 0bc0d57022
Add context to start and stop methods in the component (#790)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-06 10:59:17 -07:00
Bogdan Drutu 81cc48ca89
Cleanup processors, remove options, hide ctor (#770)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-02 14:04:02 -07:00
Dmitrii Anoshin aa8869e850
Switch OTLP receiver to the new internal data stucture (#742)
- Also replace most of the sink trace/metric consumers with exporter/exportertest/sink_exporter.go. Probably not the best package, can be moved somewhere after that
2020-04-02 11:32:27 -07:00
Tigran Najaryan c931b9875f
Refactor component and factory interface definitions (#683)
As we are preparing for Beta release we want to cleanup publicly exported
types and interfaces and do all necessary refactoring and breaking changes
now, before the Beta release. We will have a lot less leeway for breaking
changes after the Beta release.

Component related type declarations are now all in the `component` package.
This makes it possible for the interfaces to reference each other. This
was were very restricted earlier because component interfaces were in 5
different packages and many proposals were impossible to implement because
they would result in circular dependencies between packages.

(An example upcoming new capability that is enabled by this refactoring
is for components to query the Host for other components and for factories).

List of changes in this commit:

- Move all factory interfaces and component interfaces to component package.
- Rename old factories and components interfaces to use "Old" suffix for clarity.
- Eliminate forced checks that components implement factories. This is already
  enforced by the compiler when the factory is added to the Defaults() and
  was unnecessary code.
- Eliminated some unnecessary codes (removed overall over 200 lines).
- Run `go mod tidy` on testbed.

Warning: this is a breaking change to publicly exported types and function
signatures. We announced that a breaking change is comming. Once we agree
to merge this commit we will need to announce the exact list of changes
and guide component authors to modify their components accordingly.

Future changes:
- Once all components are migrated to the new internal representation,
  delete all "Old"-suffixed definitions. This will likely be done while
  we are still in Beta phase, before the Stable release.
2020-03-25 13:43:35 -04:00
Tigran Najaryan 21a70d61d6
Add a memory limiter processor (#498)
This adds a processor that drops data according to configured memory limits.
The processor is important for high load situations when receiving rate exceeds exporting
rate (and an extreme case of this is when the target of exporting is unavailable).

Typical production run will need to have this processor included in every pipeline
immediately after the batch processor.
2020-01-14 13:20:07 -05:00