Commit Graph

10 Commits

Author SHA1 Message Date
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
Dmitrii Anoshin 27277a675f
Switch queued_retry processor to internal data model (#824) 2020-04-21 17:45:43 -07:00
Bogdan Drutu 995b153e23
Move internal/data to consumer/pdata. (#835)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-15 13:13:55 -07:00
Bogdan Drutu 990df3baaa
Change spanprocessor to use the new data format (#788)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-09 09:35:00 -07:00
Paulo Janotti b9dc8ec8a3
Update processor metrics to obsreport (#606)
Initial updates to migrate processor metrics to obsreport package, ie.: the new metrics.

Cleaned-up a bit some of the processor metrics and spelled out the rule names for new metrics.

Related to https://github.com/open-telemetry/opentelemetry-collector/issues/141

Testing: Added test for the processor common metrics, validated manually that legacy metrics were still working
2020-03-16 09:41:02 -04:00
Ian Quick 164bf50687
Record dropped spans when zero (#528)
Change "batches_dropped" to a .Sum(), and emit 0s for them on processor start.

Motivation:
Currently with batches_dropped being a .Count() we end up with a missing metric for bad_batches until one occurs. This makes discovering the "error" metrics I want to watch kind of annoying as I can't just look in the default prom metric list and choose what I want to dashboard / alert on.

I also think that for things we KNOW are 0, we should be emitting a 0. If we send 8000 batches, the bad_batches shouldn't be absent it should be 0. I do think that view.Count()'s should be initialized to 0 as well ( but I may not know the whole story there. )

I can add these to the other processors if we think this is a good idea. For now I just hoped the metric name is correct in my current production dashboards.

Testing:
I added some happy path metric tests to the processor. I can figure out a way to add bad path tests, it will just require a bunch of plumbing I think.

Documentation: I think the metrics as a whole need better documentation, for example I "fail_sends" in the exporter wasn't actually an error. Maybe a distinction between data loss events or not?
2020-02-05 09:45:21 -05:00
Paulo Janotti 487742e7c5
Fix processor metric tag key and add queued retry name (#420)
For historical reasons the tag associated to the name of a processor was still named "exporter", changed that to "processor". Added also the name of the queued retry instance to be used as the name of the processor.
2019-11-15 07:56:54 -08:00
Tigran Najaryan dc6b290e3c
Rename all github paths from opentelemtry-service to opentelemetry-collector (#371)
This is part of renaming task: https://github.com/open-telemetry/opentelemetry-service/issues/352
2019-09-27 17:17:03 -04:00
Yang Song 35ed81cbd4 Relocate a few internal/collector/* packages (#238)
* Move package sampling to processor/tailsampling

* Move idbatcher to processor/tailsampling

* Move internal/collector/processor/metrics to processor/

Also remove empty internal/collector/processor/ package.
2019-08-07 19:35:27 -07:00