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

Upstream Sync #1

Merged
merged 20 commits into from
Jun 4, 2020
Merged

Upstream Sync #1

merged 20 commits into from
Jun 4, 2020

Conversation

chris-smith-zocdoc
Copy link

chris-smith-zocdoc and others added 20 commits May 20, 2020 16:03
This is using the same ProtoBuf generation mechanism as OTLP traces and metrics but
keeps Logs proto message definition in this repo for now, during the experimentation
phase. Once we settle on a certain proto format for logs this will be proposed
as official extension of Logs in OTLP.

This change also generates in-memory structs for logs using pdatagen.

TODO:
Body needs to implement than `any` data type that Log Data Model requires.
It will be done in a future PR. I want to align AttributeKeyValue in OTLP
with `any` value first.
The MatchSpan interface is used by the attributes/span processor,
however this change does not change the yaml configuration or behavior,
just implementation.

FilterSet has the same filtering logic as MatchSpan previously had, but operates more
generically on just strings instead of spans and adds some additional
options, such as caching.

**Link to tracking Issue:** Side effect of open-telemetry#560 to help keep metrics and trace processors using matching configs the same.

**Testing:** unit tests updated, no new behavior, just implementation swapout
Resolves open-telemetry#1033

We would like to use this in Jaeger `all-in-one` component that combines OTEL collector and Jaeger query in a single executable.

Since the OTEL service listens on multiple terminations signals: `sigterm` and `asyncErrorChannel` we need an aggregated way to notify our service that shutdown is initiated and when it's done.

```go
        // query runs in a separate goroutine. 
	queryServer, tracerCloser := startQuery(v, logger, storageFactory, svc.ReportFatalError)
	for state := range svc.GetStateChannel() {
		switch state {
		case service.ClosingDown:
			queryServer.Close()
			tracerCloser.Close()
		case service.Closed:
			return
		}
	}
```
…ry#1057)

LogService will be used for OTLP/gRPC. Request/response messages will be
used for OTLP/gRPC and OTLP/HTTP.

Resolves open-telemetry#1052
* Add batching for metrics

* Update documentation

* Improve test coverage
* Refactor SecureReceiverSettings to use TLSSetting

* Address test code coverage failure

* Update file to use new license format

* Address few small comments
…metry#993)

* Remove extra send/receive annotations with using zipkin v1
Fixes open-telemetry#960

* Update test to use assert.EqualValues
add some tests for the zipkin status mapper
# Conflicts:
#	translator/trace/zipkin/status_code_test.go
# Conflicts:
#	receiver/zipkinreceiver/trace_receiver.go
@chris-smith-zocdoc chris-smith-zocdoc merged commit 69aabd1 into master Jun 4, 2020
@chris-smith-zocdoc chris-smith-zocdoc deleted the cs_zipkin branch June 4, 2020 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants