publishes
Creates, updates, deletes, gets or lists a publishes resource.
Overview
| Name | publishes |
| Type | Resource |
| Id | azure.monitor_opentelemetry_exporter.publishes |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
publish | exec | ikey, host, api_version, Version, InvariantVersion, Instance, RoleName, MachineName, StreamId, IsWebApp, PerformanceCollectionSupported | x-ms-qps-configuration-etag, x-ms-qps-transmission-time | Publish live metrics to the Live Metrics service when there is an active subscription to the metrics. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_version | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client apiVersion parameter. (default: ) |
host | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client host parameter. (default: ) |
ikey | string | The instrumentation key of the target Application Insights component for which the client checks whether there's any subscription to it. Required. |
x-ms-qps-configuration-etag | string | An encoded string that indicates whether the collection configuration is changed. Default value is None. |
x-ms-qps-transmission-time | integer | Timestamp when the client transmits the metrics and documents to Live Metrics. A 8-byte long type of ticks. Default value is None. |
Lifecycle Methods
- publish
Publish live metrics to the Live Metrics service when there is an active subscription to the metrics.
EXEC azure.monitor_opentelemetry_exporter.publishes.publish
@ikey='{{ ikey }}' --required,
@host='{{ host }}' --required,
@api_version='{{ api_version }}' --required,
@x-ms-qps-configuration-etag='{{ x-ms-qps-configuration-etag }}',
@x-ms-qps-transmission-time='{{ x-ms-qps-transmission-time }}'
@@json=
'{
"Version": "{{ Version }}",
"InvariantVersion": {{ InvariantVersion }},
"Instance": "{{ Instance }}",
"RoleName": "{{ RoleName }}",
"MachineName": "{{ MachineName }}",
"StreamId": "{{ StreamId }}",
"Timestamp": "{{ Timestamp }}",
"TransmissionTime": "{{ TransmissionTime }}",
"IsWebApp": {{ IsWebApp }},
"PerformanceCollectionSupported": {{ PerformanceCollectionSupported }},
"Metrics": "{{ Metrics }}",
"Documents": "{{ Documents }}",
"TopCpuProcesses": "{{ TopCpuProcesses }}",
"CollectionConfigurationErrors": "{{ CollectionConfigurationErrors }}"
}'
;