"otlc" is a command line tool that allows you to easily post metrics by OTLP. It acts as a simple exporter and helps you validate the OTLP endpoint.
brew install Arthur1/tap/otlc
otlc metrics post --conf ./otlc.yaml --name awesome_gauge --value 123.45 \
--resource-attrs service.name=otlc --datapoint-attrs hoge=poyo,fuga=1