Skip to content

Commit

Permalink
add enable-feature flag to Receiver docs, fix newEndpointRef typo
Browse files Browse the repository at this point in the history
Signed-off-by: Mindaugas Niaura <mindaugas.niaura@vinted.com>
  • Loading branch information
niaurys committed Sep 30, 2024
1 parent 543ca2e commit 7398bc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/components/receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ Flags:
detected maximum container or system memory.
--enable-auto-gomemlimit Enable go runtime to automatically limit memory
consumption.
--enable-feature= ... Comma separated experimental feature names
to enable. The current list of features is
metric-names-filter.
--grpc-address="0.0.0.0:10901"
Listen ip:port address for gRPC endpoints
(StoreAPI). Make sure this address is routable
Expand Down
2 changes: 1 addition & 1 deletion pkg/query/endpointset.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ type endpointRef struct {
logger log.Logger
}

// newndpointRef creates a new endpointRef with a gRPC channel to the given the IP address.
// newEndpointRef creates a new endpointRef with a gRPC channel to the given the IP address.
// The call to newEndpointRef will return an error if establishing the channel fails.
func (e *EndpointSet) newEndpointRef(spec *GRPCEndpointSpec) (*endpointRef, error) {
var dialOpts []grpc.DialOption
Expand Down

0 comments on commit 7398bc0

Please sign in to comment.