Commit Graph

12 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
Joe Elliott cadd49875b
Moved common processor files and updated refs (#1574)
* Moved pkg files and updated refs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added hash test

Signed-off-by: Joe Elliott <number101010@gmail.com>

* lint

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved to processorhelper

Signed-off-by: Joe Elliott <number101010@gmail.com>
2020-08-19 13:18:36 -07:00
Bogdan Drutu 686d45b414
Fix process to enable unparam (#1505)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-05 15:44:03 -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
Dmitrii Anoshin 3711c01b0c
Migrate Resource Processor to internal data model (#1315)
This commit migrates resource processor to internal data model. Existing processor configuration is relevant only to OpenCensus format, so the configuration schema has to be changed. Taking this opportunity, this commit adds existing logic for attributes manipulation from attributes processor to resource processor. 
New config uses "attributes" field which represents actions that can be made on resource attributes. Supported actions: INSERT, UPDATE, UPSERT, DELETE, HASH, EXTRACT.
In order to migrate existing resource processor config:
1. Move key/values from "labels" field to "attributes" with action="upsert".
2. Add value from "type" field to "attributes" with key="opencensus.resourcetype"  and action="upsert".
2020-07-11 19:33:38 -07:00
Bruno Garcia 8aa2731844
Remove year from copyright (#964) 2020-05-26 12:44:22 -04:00
Akash Suresh 1076b51266
resourceprocessor: Don't panic when consumed resource has nil labels (#1003)
* resourceprocessor: Don't panic when consumed resource has nil labels

* Address feedback
2020-05-20 14:11:25 -07: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
Nail Islamov ff27249f98
Don't mutate resource type if it wasn't specified in the Resource Processor config (#792) 2020-04-07 07:28:32 -07:00
Dino Oliva ecce2de1e4 Add Resource Processor (#423)
Add a resource processor that provides config-based static specification of a resource label that will be added to metrics and trace data.
2019-11-26 11:50:54 -05:00