Commit Graph

19 Commits

Author SHA1 Message Date
Bogdan Drutu ffb332b37b
Add capabilities to consumer, remove from processor (#2770)
* Add capabilities to consumer, remove from processor

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Rename baseConsumer

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-11 16:13:47 -07:00
Bogdan Drutu d96a7fd4b1
Use config.ComponentID in processor helper internal (#3095)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-04 14:48:52 -07:00
Bogdan Drutu 665e9657ac
Use config.ID for Processors config (#3077)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-03 14:46:10 -07:00
Bogdan Drutu 0f75efa9f3
Fix all TraceExporter usages, use TracesExporter (#2937)
* Fix all TraceExporter usages, use TracesExporter

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update changelog

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-04-14 14:36:07 -07:00
Bogdan Drutu c6c758c1cf
Fix all TraceProcessor usages, use TracesProcessor (#2935)
* Fix all TraceProcessor usages, use TracesProcessor

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update changelog

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-04-14 14:04:27 -07:00
Bogdan Drutu 53832b5246
Add convenience interface in consumertest that implements all consumers (#2878)
* Add convenience interface in consumertest that implements all consumers

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Add changelog entry, fix license

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-04-02 15:00:23 -07:00
Bogdan Drutu e7c74eb2fd
Move configmodels to config (#2808)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-03-26 12:14:35 -07:00
Bogdan Drutu cb6014387d
Move testdata up one level, no point in being data/testdata (#2198)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-24 11:53:36 -08:00
Bogdan Drutu 8ceddba7ea
Reduce duplicate code in components helper (#2186)
Add componenthelper package to help building components like Processors, Exporters.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-20 07:17:46 -08:00
Bogdan Drutu ead921c024
Deprecate NopExporter, add NopConsumer (#1972)
* Deprecate NopExporter, add NopConsumer

In few situations people complained about not having a nop consumer,
because of confusion that it was implemented as Exporter, even if only used as Consumer.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Rename to TracesNop

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-19 14:53:16 -07:00
Bogdan Drutu d119b89225
Move the metrics definition to pdata. Remove internal/data definition (#1720)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-09-03 12:18:32 -07:00
Bogdan Drutu 09d5ee7d6a
Change tests to use the new internal metrics structs (#1695)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-31 11:59:19 -07:00
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
Annie Fu 052b36eac7
If filterprocessor filters all data, stop further processing (#1500) 2020-08-13 11:30:16 -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