Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Vihas Splunk committed Jul 12, 2023
1 parent 2563287 commit f30dc60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .chloggen/handle-grpc-status-codes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: otlpreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Ensure OTLP receiver handles consume errors correctly

# One or more tracking issues or pull requests related to the change
issues: [4335]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: Make sure OTLP receiver returns correct status code and follows the receiver contract (gRPC)
2 changes: 1 addition & 1 deletion receiver/otlpreceiver/internal/trace/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ func (r *Receiver) Export(ctx context.Context, req ptraceotlp.ExportRequest) (pt
}
return ptraceotlp.NewExportResponse(), s.Err()
}
return ptraceotlp.NewExportResponse(), nil
return ptraceotlp.NewExportResponse(), err
}

0 comments on commit f30dc60

Please sign in to comment.