Skip to content

Releases: vimeo/alog

v3.7.1

19 Aug 19:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.7.0...v3.7.1

v3.7.0

07 Aug 22:41
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.6.2...v3.7.0

Format httpQuery inner values as arrays

12 Apr 21:09
2fe6b76
Compare
Choose a tag to compare

The type of http query Values is map[string][]string, but prior to this release, alog only wrote query parameters with multiple values as an array. This update ensures that all http query inner values are arrays.

Note that any BigQuery tables which log httpQuerys may need reformatting.

Format httpHeader inner values as arrays

07 Apr 16:56
9b60b65
Compare
Choose a tag to compare

The type of http.Header is map[string][]string, but prior to this release, alog only wrote headers with multiple values as an array. This update ensures that all http.Header inner values are arrays.

Note that any BigQuery tables which log httpHeaders may have to be reformatted.

Pluggable tracing support

07 May 15:17
a27a612
Compare
Choose a tag to compare
Pluggable tracing support in gkelog (#17)

* gkelog: Pluggable interface for trace contexts

Split up the existing jsonTrace function so it can use a different
implementation for extracting the trace from the context.

Add support for including the logging.googleapis.com/trace_sampled key
in the logging payload.

reference for structured logs ingested by the stackdriver logging agent
(as used in GKE):
https://cloud.google.com/logging/docs/agent/configuration#special-fields

* Add gitignore with vim excludes

* gkelog: opencensus TraceSpanExtractor

Create a submodule to contain the opencensus TraceSpanExtractor since
that has a rather expansive set of dependencies that we wouldn't want to
force on all users.

* gkelog: add an opentelemetry TraceSpanExtractor

Similar to Opencensus, this one is its own submodule as well.
It locks the current head version of opentelemetry because they renamed
the context-extraction method and I don't want to rename it later.

I had to remove the "sampled" variant of the test because there's
currently no way that I could find to enable sampling without doing
unholy things to the otel SpanContext struct (mostly setting flags
manually).

It looks like they have some missing plumbing, that should get resolved,
so there's a TODO waiting for us when that's working.

Initial opencensus traceextractor module release

07 May 15:19
a27a612
Compare
Choose a tag to compare
Pluggable tracing support in gkelog (#17)

* gkelog: Pluggable interface for trace contexts

Split up the existing jsonTrace function so it can use a different
implementation for extracting the trace from the context.

Add support for including the logging.googleapis.com/trace_sampled key
in the logging payload.

reference for structured logs ingested by the stackdriver logging agent
(as used in GKE):
https://cloud.google.com/logging/docs/agent/configuration#special-fields

* Add gitignore with vim excludes

* gkelog: opencensus TraceSpanExtractor

Create a submodule to contain the opencensus TraceSpanExtractor since
that has a rather expansive set of dependencies that we wouldn't want to
force on all users.

* gkelog: add an opentelemetry TraceSpanExtractor

Similar to Opencensus, this one is its own submodule as well.
It locks the current head version of opentelemetry because they renamed
the context-extraction method and I don't want to rename it later.

I had to remove the "sampled" variant of the test because there's
currently no way that I could find to enable sampling without doing
unholy things to the otel SpanContext struct (mostly setting flags
manually).

It looks like they have some missing plumbing, that should get resolved,
so there's a TODO waiting for us when that's working.

v3.5.0

09 Jan 23:07
ed0d3b9
Compare
Choose a tag to compare

Add Test Emitter (#16)

v3.4.2

11 Sep 15:13
Compare
Choose a tag to compare
  • leveled: fix default logger and add a test (#15)

v3.4.1

22 Aug 04:00
Compare
Choose a tag to compare
  • gkelog: Prevent duplicate keys in JSON output (#14)

v3.4.0

21 Aug 18:30
Compare
Choose a tag to compare
  • Fix for duplicate JSON keys in the jsonlog emitter (#11)
  • New leveled package to make using log levels easier (#12)