Skip to content

otelzap: Implement encoder to map zap field to Otel attribute

Codecov / codecov/patch failed May 15, 2024 in 1s

0.0% of diff hit (target 62.4%)

View this Pull Request on Codecov

0.0% of diff hit (target 62.4%)

Annotations

Check warning on line 24 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 27 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 34 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 40 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 45 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L45

Added line #L45 was not covered by tests

Check warning on line 50 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L50

Added line #L50 was not covered by tests

Check warning on line 55 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L55

Added line #L55 was not covered by tests

Check warning on line 60 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L60

Added line #L60 was not covered by tests

Check warning on line 65 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L65

Added line #L65 was not covered by tests

Check warning on line 70 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L70

Added line #L70 was not covered by tests

Check warning on line 75 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L75

Added line #L75 was not covered by tests

Check warning on line 80 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L80

Added line #L80 was not covered by tests

Check warning on line 85 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L85

Added line #L85 was not covered by tests

Check warning on line 90 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L90

Added line #L90 was not covered by tests

Check warning on line 95 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L95

Added line #L95 was not covered by tests

Check warning on line 101 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L100-L101

Added lines #L100 - L101 were not covered by tests

Check warning on line 107 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L107

Added line #L107 was not covered by tests

Check warning on line 120 in bridges/otelzap/encoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bridges/otelzap/encoder.go#L111-L120

Added lines #L111 - L120 were not covered by tests