Skip to main content

publishes

Creates, updates, deletes, gets or lists a publishes resource.

Overview

Namepublishes
TypeResource
Idazure.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:

NameAccessible byRequired ParamsOptional ParamsDescription
publishexecikey, host, api_version, Version, InvariantVersion, Instance, RoleName, MachineName, StreamId, IsWebApp, PerformanceCollectionSupportedx-ms-qps-configuration-etag, x-ms-qps-transmission-timePublish 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.

NameDatatypeDescription
api_versionstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client apiVersion parameter. (default: )
hoststringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client host parameter. (default: )
ikeystringThe 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-etagstringAn encoded string that indicates whether the collection configuration is changed. Default value is None.
x-ms-qps-transmission-timeintegerTimestamp 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 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 }}"
}'
;