Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/release/v0.4.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pmm-sumo committed Jun 18, 2020
2 parents 3ff9036 + 6b1462e commit 273a9fb
Show file tree
Hide file tree
Showing 85 changed files with 986 additions and 525 deletions.
49 changes: 27 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ executors:
- image: cimg/go:1.14

commands:
restore_workspace:
steps:
- attach_to_workspace
- restore_module_cache

attach_to_workspace:
steps:
- attach_workspace:
Expand All @@ -24,7 +29,7 @@ commands:
save_module_cache:
steps:
- save_cache:
key: cimg-go-pkg-mod-{{ checksum "go.sum" }}-v2
key: cimg-go-pkg-mod-{{ checksum "go.sum" }}-v4
paths:
- "/home/circleci/go/pkg/mod"

Expand All @@ -35,10 +40,7 @@ commands:
command: mkdir -p ~/go/pkg/mod
- restore_cache: # restores saved cache if no changes are detected since last run
keys:
- cimg-go-pkg-mod-{{ checksum "go.sum" }}-v2
- persist_to_workspace:
root: ~/
paths: go/pkg/mod
- cimg-go-pkg-mod-{{ checksum "go.sum" }}-v4

publish_docker_images:
parameters:
Expand Down Expand Up @@ -79,7 +81,7 @@ workflows:
- build
- publish-dev:
requires:
- run-stability-tests
- run-stability-tests

build-publish:
when: << pipeline.parameters.run-build-publish >>
Expand Down Expand Up @@ -108,7 +110,7 @@ workflows:
only: /.*/
- cross-compile:
requires:
- build
- setup
filters:
tags:
only: /.*/
Expand Down Expand Up @@ -139,7 +141,7 @@ workflows:
- build
filters:
branches:
only: /master/
only: /master|release\/.+/
tags:
ignore: /.*/

Expand All @@ -149,33 +151,36 @@ jobs:
steps:
- checkout
- restore_module_cache
- persist_to_workspace:
root: ~/
paths: project
- run:
name: Install deps
command: make -j8 for-all-target TARGET='dep'
- run:
name: Install tools
command: make install-tools
- run:
name: Install testbed tools
command: make -C testbed install-tools
- save_module_cache
- persist_to_workspace:
root: ~/
paths: go/bin
paths:
- project
- go/bin
lint:
executor: golang
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Lint
command: CMD="make lint" make -j4 for-all
command: make -j8 for-all-target TARGET="lint"
- run:
name: Checks
command: make -j4 checklicense impi misspell

build:
executor: golang
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Build collector for linux_amd64
command: make otelcontribcol
Expand All @@ -187,7 +192,7 @@ jobs:
docker:
- image: cimg/go:1.14
steps:
- attach_to_workspace
- restore_workspace
- setup_remote_docker
- run:
name: Build trace example
Expand All @@ -197,7 +202,7 @@ jobs:
executor: golang
parallelism: 4
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Build collector for all archs
command: grep ^otelcontribcol-all-sys Makefile|fmt -w 1|tail -n +2|circleci tests split|xargs make
Expand All @@ -208,7 +213,7 @@ jobs:
test:
executor: golang
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Coverage tests
command: make test-with-cover
Expand All @@ -220,7 +225,7 @@ jobs:
executor: golang
resource_class: medium+
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Loadtest
command: make -C testbed runtests
Expand All @@ -233,7 +238,7 @@ jobs:
docker:
- image: cimg/go:1.14
steps:
- attach_to_workspace
- restore_workspace
- setup_remote_docker
- publish_docker_images:
repo: opentelemetry-collector
Expand All @@ -248,7 +253,7 @@ jobs:
publish-dev:
executor: golang
steps:
- attach_to_workspace
- restore_workspace
- setup_remote_docker
- publish_docker_images:
repo: opentelemetry-collector-dev
Expand Down Expand Up @@ -278,7 +283,7 @@ jobs:
run-stability-tests:
executor: golang
steps:
- attach_to_workspace
- restore_workspace
- run:
name: Run stability tests
command: make stability-tests
Expand Down
223 changes: 223 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
# Changelog

## Unreleased

## v0.4.0

Released 17-06-2020

# 🎉 OpenTelemetry Collector Contrib v0.4.0 (Beta) 🎉

The OpenTelemetry Collector Contrib contains everything in the [opentelemetry-collector release](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.4.0) (be sure to check the release notes here as well!). Check out the [Getting Started Guide](https://opentelemetry.io/docs/collector/about/) for deployment and configuration information.

## 🛑 Breaking changes 🛑

- `signalfx` exporter `url` parameter changed to `ingest_url` (no impact if only using `realm` setting)

## 🚀 New components 🚀

- Receivers
- `receiver_creator` to create receivers at runtime (#145), add observer support to receiver_creator (#173), add rules support (#207), add dynamic configuration values (#235)
- `kubeletstats` receiver (#237)
- `prometheus_simple` receiver (#184)
- `kubernetes-cluster` receiver (#175)
- `redis` receiver (#138)
- Exporters
- `alibabacloudlogservice` exporter (#259)
- `SplunkHEC` metrics exporter (#246)
- `elastic` APM exporter (#240)
- `newrelic` exporter (#229)
- Extensions
- `k8s` observer (#185)

## 💡 Enhancements 💡

- `awsxray` exporter
- Use X-Ray convention of segment name == service name (#282)
- Tweak xray export to improve rendering of traces and improve parity (#241)
- Add handling for spans received with nil attributes (#212)
- `honeycomb` exporter
- Use SendPresampled (#291)
- Add span attributes as honeycomb event fields (#271)
- Support resource labels in Honeycomb exporter (#20)
- `k8s` processor
- Add support of Pod UID extraction to k8sprocessor (#219)
- Use `k8s.pod.ip` to record resource IP instead of just `ip` (#183)
- Support same authentication mechanism as other kubernetes components do (#307)
- `sapm` exporter: Add TLS for SAPM and SignalFx receiver (#215)
- `signalfx` exporter
- Add metric metadata syncer to SignalFx exporter (#231)
- Add TLS for SAPM and SignalFx receiver (#215)
- `stackdriver` exporter: Add support for resource mapping in config (#163)

## 🧰 Bug fixes 🧰

- `awsxray` exporter: Wrap bad request errors for proper handling by retry queue (#205)
- `lightstep` exporter: Ensure Lightstep exporter doesnt crash on nil node (#250)
- `sapm` exporter: Do not break Jaeger traces before sending downstream (#193)
- `k8s` processor: Ensure Jaeger spans work in passthrough mode (262)

## 🧩 Components 🧩

### Receivers

| Traces | Metrics |
|:-------:|:-------:|
| Jaeger Legacy | Carbon |
| SAPM (SignalFx APM) | Collectd |
| Zipkin Scribe | K8s Cluster |
| | Redis |
| | SignalFx |
| | Simple Prometheus |
| | Wavefront |

### Processors

- K8s

### Exporters

| Commercial | Community |
|:------------:|:-----------:|
| Alibaba Cloud Log Service | Carbon |
| AWS X-ray | Elastic |
| Azure Monitor | Jaeger Thrift |
| Honeycomb | Kinesis |
| Lightstep |
| New Relic |
| SAPM (SignalFx APM) |
| SignalFx (Metrics) |
| Splunk HEC |
| Stackdriver (Google) |

### Extensions

- Observer
- K8s

## v0.3.0 Beta

Released 2020-03-30

### Breaking changes

- Make prometheus receiver config loading strict. #697
Prometheus receiver will now fail fast if the config contains unused keys in it.

### Changes and fixes

- Enable best effort serve by default of Prometheus Exporter (https://github.com/orijtech/prometheus-go-metrics-exporter/pull/6)
- Fix null pointer exception in the logging exporter #743
- Remove unnecessary condition to have at least one processor #744
- Updated Honeycomb exported to `honeycombio/opentelemetry-exporter-go v0.3.1`

### Features

Receivers / Exporters:

* AWS X-Ray
* Carbon
* CollectD
* Honeycomb
* Jaeger
* Kinesis
* LightStep
* OpenCensus
* OpenTelemetry
* SAPM
* SignalFx
* Stackdriver
* Wavefront
* Zipkin
* Zipkin Scribe


Processors:

* Attributes
* Batch
* Memory Limiter
* Queued Retry
* Resource
* Sampling
* Span
* Kubernetes

Extensions:

* Health Check
* Performance Profiler
* zPages


## v0.2.8

Released 2020-03-25

Alpha v0.2.8 of OpenTelemetry Collector Contrib.

- Implemented OTLP receiver and exporter.
- Added ability to pass config to the service programmatically (useful for custom builds).
- Improved own metrics / observability.


## v0.2.7

Released 2020-03-17

### Self-Observability
- New command-line switch to control legacy and new metrics. Users are encouraged
to experiment and migrate to the new metrics.
- Improved error handling on shutdown.


### Processors
- Fixed passthrough mode k8sprocessor.
- Added `HASH` action to attribute processor.

### Receivers and Exporters
- Added Honeycomb exporter.
- Added LightStep exporter.
- Added regular expression for Carbon receiver, allowing the metric name to be broken into proper label keys and values.
- Updated Stackdriver exporter to use a new batch API.


## v0.2.6 Alpha

Released 2020-02-18

### Self-Observability
- Updated metrics prefix to `otelcol` and expose command line argument to modify the prefix value.
- Batch dropped span now emits zero when no spans are dropped.

### Processors
- Extended Span processor to have include/exclude span logic.
- Ability to choose strict or regexp matching for include/exclude filters.

### Receivers and Exporters
- Added Carbon receiver and exporter.
- Added Wavefront receiver.


## v0.0.5 Alpha

Released 2020-01-30

- Regexp-based filtering of span names.
- Ability to extract attributes from span names and rename span.
- File exporter for debugging.
- Span processor is now enabled by default.

## v0.0.1 Alpha

Released 2020-01-11

First release of OpenTelemetry Collector Contrib.


[v0.3.0]: https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.2.8...v0.3.0
[v0.2.8]: https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.2.7...v0.2.8
[v0.2.7]: https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.2.6...v0.2.7
[v0.2.6]: https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.0.5...v0.2.6
[v0.0.5]: https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.0.1...v0.0.5
[v0.0.1]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.0.1
Loading

0 comments on commit 273a9fb

Please sign in to comment.