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

Update log collection #3017

Merged
merged 2 commits into from
Apr 8, 2021
Merged

Conversation

djaglowski
Copy link
Member

Updates opentelemetry-log-collection to v0.17.0

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #3017 (1a8a440) into main (0c198ee) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3017   +/-   ##
=======================================
  Coverage   91.55%   91.55%           
=======================================
  Files         464      464           
  Lines       22846    22846           
=======================================
+ Hits        20916    20917    +1     
+ Misses       1437     1436    -1     
  Partials      493      493           
Flag Coverage Δ
integration 68.96% <ø> (-0.07%) ⬇️
unit 90.52% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
internal/stanza/converter.go 100.00% <100.00%> (ø)
receiver/carbonreceiver/transport/tcp_server.go 67.00% <0.00%> (+1.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c198ee...1a8a440. Read the comment docs.

@djaglowski djaglowski marked this pull request as ready for review April 8, 2021 00:12
@djaglowski djaglowski requested a review from a team April 8, 2021 00:12
@@ -14,11 +14,11 @@ receivers:
id: get-format
routes:
- output: parser-docker
expr: '$$record matches "^\\{"'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also remember to update the helm chart.

@tigrannajaryan tigrannajaryan merged commit 6e6a6b0 into open-telemetry:main Apr 8, 2021
@djaglowski djaglowski deleted the update-log-col branch April 8, 2021 21:02
tigrannajaryan pushed a commit to open-telemetry/opentelemetry-helm-charts that referenced this pull request Apr 14, 2021
Follows [#88 (opentelemetry-log-collection)](open-telemetry/opentelemetry-log-collection#88) and [#3017 (opentelemetry-collector-contrib)](open-telemetry/opentelemetry-collector-contrib#3017)
pmatyjasek-sumo pushed a commit to pmatyjasek-sumo/opentelemetry-collector-contrib that referenced this pull request Apr 28, 2021
alexperez52 referenced this pull request in open-o11y/opentelemetry-collector-contrib Aug 18, 2021
…ng it up (#3597)

Split off from PR #3017, as requested to firstly add the implementation
unwired to the exporter itself to help the reviewers easily understand

Uses an off the shelf WAL implementation to add capabilities
to the Prometheus remote exporter using github.com/tidwall/wal.

By default the WAL will be on and to configure the WAL location,
please use this prometheusremotewrite exporter YAML configuration:

```yaml
exporters:
  prometheusremotewrite:
    endpoint: "http://some.url:9411/api/prom/push"
    wal:
        directory: ./waldir/wal_directory
        truncate_frequency: 200s
        cache_size: 300
```

whose fields are quite similar to Prometheus' WAL fields per

    https://docs.google.com/document/d/1cCcoFgjDFwU2n823tKuMvrIhzHty4UDyn0IcfUHiyyI/edit#heading=h.mlf37ibqjgov

We are using an off-the-shelf WAL because:
By the time that we get OTLP metrics, we can convert to Prometheus proto,
but trying to implement the Prometheus storage interfaces would involve
either by-passing to-Prometheus-Proto and then save to Prometheus raw Go,
then retrieve Prometheus raw Go and then convert to Prometheus Proto.
It is much easier to get an off the shelf WAL implementation and add
it to the Prometheus implementation.

The next PR after this one will involve hooking it into the actual
Prometheus Remote Write exporter.

Updates open-telemetry/prometheus-interoperability-spec#9
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.

3 participants