mixc

This command lets you interact with a running instance of Mixer. Note that you need a pretty good understanding of Mixer's API in order to use this command.

mixc check

The Check method is used to perform precondition checks and quota allocations. Mixer expects a set of attributes as input, which it uses, along with its configuration, to determine which adapters to invoke and with which parameters in order to perform the checks and allocations.

mixc check [flags]
FlagsShorthandDescription
--attributes <string>-aList of name/value auto-sensed attributes specified as name1=value1,name2=value2,... (default ``)
--bool_attributes <string>-bList of name/value bool attributes specified as name1=value1,name2=value2,... (default ``)
--bytes_attributes <string>List of name/value bytes attributes specified as name1=b0:b1:b3,name2=b4:b5:b6,... (default ``)
--double_attributes <string>-dList of name/value float64 attributes specified as name1=value1,name2=value2,... (default ``)
--duration_attributes <string>List of name/value duration attributes specified as name1=value1,name2=value2,... (default ``)
--int64_attributes <string>-iList of name/value int64 attributes specified as name1=value1,name2=value2,... (default ``)
--mixer <string>-mAddress and port of a running Mixer instance (default `localhost:9091`)
--quotas <string>-qList of quotas to allocate specified as name1=amount1,name2=amount2,... (default ``)
--repeat <int>-rSends the specified number of requests in quick succession (default `1`)
--string_attributes <string>-sList of name/value string attributes specified as name1=value1,name2=value2,... (default ``)
--stringmap_attributes <string>List of name/value string map attributes specified as name1=k1:v1;k2:v2,name2=k3:v3... (default ``)
--timestamp_attributes <string>-tList of name/value timestamp attributes specified as name1=value1,name2=value2,... (default ``)
--trace_jaeger_url <string>URL of Jaeger HTTP collector (example: 'http://jaeger:14268/api/traces?format=jaeger.thrift'). (default ``)
--trace_log_spansWhether or not to log trace spans.
--trace_zipkin_url <string>URL of Zipkin collector (example: 'http://zipkin:9411/api/v1/spans'). (default ``)

mixc report

The Report method is used to produce telemetry. Mixer expects a set of attributes as input, which it uses, along with its configuration, to determine which adapters to invoke and with which parameters in order to output the telemetry.

mixc report [flags]
FlagsShorthandDescription
--attributes <string>-aList of name/value auto-sensed attributes specified as name1=value1,name2=value2,... (default ``)
--bool_attributes <string>-bList of name/value bool attributes specified as name1=value1,name2=value2,... (default ``)
--bytes_attributes <string>List of name/value bytes attributes specified as name1=b0:b1:b3,name2=b4:b5:b6,... (default ``)
--double_attributes <string>-dList of name/value float64 attributes specified as name1=value1,name2=value2,... (default ``)
--duration_attributes <string>List of name/value duration attributes specified as name1=value1,name2=value2,... (default ``)
--int64_attributes <string>-iList of name/value int64 attributes specified as name1=value1,name2=value2,... (default ``)
--mixer <string>-mAddress and port of a running Mixer instance (default `localhost:9091`)
--repeat <int>-rSends the specified number of requests in quick succession (default `1`)
--string_attributes <string>-sList of name/value string attributes specified as name1=value1,name2=value2,... (default ``)
--stringmap_attributes <string>List of name/value string map attributes specified as name1=k1:v1;k2:v2,name2=k3:v3... (default ``)
--timestamp_attributes <string>-tList of name/value timestamp attributes specified as name1=value1,name2=value2,... (default ``)
--trace_jaeger_url <string>URL of Jaeger HTTP collector (example: 'http://jaeger:14268/api/traces?format=jaeger.thrift'). (default ``)
--trace_log_spansWhether or not to log trace spans.
--trace_zipkin_url <string>URL of Zipkin collector (example: 'http://zipkin:9411/api/v1/spans'). (default ``)

mixc version

Prints out build version information

mixc version [flags]
FlagsShorthandDescription
--short-sDisplays a short form of the version information