blossom metric:source:list
List metric sources
Usage
blossom metric:source:list --streamable-id STREAMABLE_ID
Flags
| Flag | Description |
|---|---|
--streamable-id (required) |
Streamable resource id, such as database_instance-100, environment-100, or service-100 |
Examples:
blossom metric:source:list --streamable-id environment-100
blossom metric:source:list --streamable-id service-100
blossom metric:source:list --streamable-id database_instance-100
blossom metric:source:list --streamable-id cache_instance-100
Lists the workload and managed Product metric sources available to the current Account.
The output includes copy-paste metric:stream:create hints. Use the returned
SOURCE_TYPE and METRIC_SCOPE values exactly; DISPLAY is only a human
label.
blossom metric:stream:create --data '{"metric_stream":{"streamable_id":"environment-100","source_type":"container","metric_scope":"environment-100:web","time_range":"live"}}'
blossom metric:stream:create --data '{"metric_stream":{"streamable_id":"database_instance-100","source_type":"database_instance","metric_scope":"database_instance-100","time_range":"live"}}'