Skip to content

Tags: vimeo/alog

Tags

v3.8.0

Toggle v3.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #28 from vimeo/min-log-levels

Minimum Log Levels

v3.7.1

Toggle v3.7.1's commit message
Fix GKE Emitter with Structured Tags

Fix a bug where only the first structured tag would be emitted in the
gke emitter.

v3.7.0

Toggle v3.7.0's commit message
Support Structured Tags

Adds `STags` to `Entry` and delegates marshalling those structures to
the emitters in whatever format is most appropriate.

Structured tags are added via the alog.AddStructuredTags(ctx, sTag1,
sTag2...) function.

v3.6.2

Toggle v3.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Format httpQuery inner values as arrays (#19)

v3.6.1

Toggle v3.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Format httpHeader inner values as arrays (#18)

v3.6.0

Toggle v3.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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.

emitter/gkelog/traceextractors/oc/v0.1.0

Toggle emitter/gkelog/traceextractors/oc/v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Toggle v3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add Test Emitter (#16)

* add test log emitter option for tests

* code clean up

* go.yml file for actions

* fix race condition, typo, and remove test for sync.Pools (doesn't work before go1.13)

* Update emitter/testlog/emitter.go

Co-Authored-By: dfinkel <david.finkel@gmail.com>

Co-authored-by: dfinkel <david.finkel@gmail.com>

v3.4.2

Toggle v3.4.2's commit message
leveled: fix default logger and add a test

v3.4.1

Toggle v3.4.1's commit message
gkelog: Prevent duplicate keys in JSON output

Because tags are in the top-level JSON map, we also need to skip
tags with reserved key names that are used internally by gkelog.