DATASOURCE::ARMS::PrometheusUrl は、リモート読み取り、リモート書き込み、Pushgateway、および Grafana の URL を含む、クラスターのすべての URL をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::ARMS::PrometheusUrl",
"Properties": {
"ClusterId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
ClusterId | String | いいえ | はい | クラスター ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソース リソースのリフレッシュ ポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
InternetPushGatewayUrl: Pushgateway のパブリック URL。
InternetGrafanaUrl: Grafana のパブリック URL。
ClusterId: クラスター ID。
InternetRemoteWriteUrl: リモート書き込みのパブリック URL。
Token: トークンに関する情報。
ClusterType: クラスター タイプ。
RemoteWriteUrl: リモート書き込みの内部 URL。
GrafanaUrl: Grafana の内部 URL。
RemoteReadUrl: リモート読み取りの内部 URL。
PushGatewayUrl: Pushgateway の内部 URL。
OpenTelemetryUrl: OpenTelemetry の内部 URL。
InternetOpenTelemetryUrl: OpenTelemetry のパブリック URL。
InternetRemoteReadUrl: リモート読み取りのパブリック URL。
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ClusterId:
Description:
en: Cluster ID.
Required: false
Type: String
Resources:
PrometheusUrl:
Properties:
ClusterId:
Ref: ClusterId
Type: DATASOURCE::ARMS::PrometheusUrl
Outputs:
ClusterId:
Description: クラスター ID
Value:
Fn::GetAtt:
- PrometheusUrl
- ClusterId
ClusterType:
Description: クラスター タイプ
Value:
Fn::GetAtt:
- PrometheusUrl
- ClusterType
GrafanaUrl:
Description: 内部 HTTP API URL (Grafana 読み取り URL)
Value:
Fn::GetAtt:
- PrometheusUrl
- GrafanaUrl
InternetGrafanaUrl:
Description: インターネット HTTP API URL (Grafana 読み取り URL)
Value:
Fn::GetAtt:
- PrometheusUrl
- InternetGrafanaUrl
InternetOpenTelemetryUrl:
Description: インターネット OpenTelemetry URL
Value:
Fn::GetAtt:
- PrometheusUrl
- InternetOpenTelemetryUrl
InternetPushGatewayUrl:
Description: インターネット プッシュ ゲートウェイ URL
Value:
Fn::GetAtt:
- PrometheusUrl
- InternetPushGatewayUrl
InternetRemoteReadUrl:
Description: インターネット リモート読み取り URL
Value:
Fn::GetAtt:
- PrometheusUrl
- InternetRemoteReadUrl
InternetRemoteWriteUrl:
Description: インターネット リモート書き込み URL
Value:
Fn::GetAtt:
- PrometheusUrl
- InternetRemoteWriteUrl
OpenTelemetryUrl:
Description: 内部 OpenTelemetry URL
Value:
Fn::GetAtt:
- PrometheusUrl
- OpenTelemetryUrl
PushGatewayUrl:
Description: 内部プッシュ ゲートウェイ URL
Value:
Fn::GetAtt:
- PrometheusUrl
- PushGatewayUrl
RemoteReadUrl:
Description: 内部リモート読み取り URL
Value:
Fn::GetAtt:
- PrometheusUrl
- RemoteReadUrl
RemoteWriteUrl:
Description: 内部リモート書き込み URL
Value:
Fn::GetAtt:
- PrometheusUrl
- RemoteWriteUrl
Token:
Description: Grafana 読み取り URL のトークン
Value:
Fn::GetAtt:
- PrometheusUrl
- Token
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ClusterId": {
"Type": "String",
"Description": {
"en": "Cluster ID."
},
"Required": false
}
},
"Resources": {
"PrometheusUrl": {
"Type": "DATASOURCE::ARMS::PrometheusUrl",
"Properties": {
"ClusterId": {
"Ref": "ClusterId"
}
}
}
},
"Outputs": {
"InternetPushGatewayUrl": {
"Description": "インターネット プッシュ ゲートウェイ URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"InternetPushGatewayUrl"
]
}
},
"InternetGrafanaUrl": {
"Description": "インターネット HTTP API URL (Grafana 読み取り URL)",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"InternetGrafanaUrl"
]
}
},
"ClusterId": {
"Description": "クラスター ID",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"ClusterId"
]
}
},
"InternetRemoteWriteUrl": {
"Description": "インターネット リモート書き込み URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"InternetRemoteWriteUrl"
]
}
},
"Token": {
"Description": "Grafana 読み取り URL のトークン",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"Token"
]
}
},
"ClusterType": {
"Description": "クラスター タイプ",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"ClusterType"
]
}
},
"RemoteWriteUrl": {
"Description": "内部リモート書き込み URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"RemoteWriteUrl"
]
}
},
"GrafanaUrl": {
"Description": "内部 HTTP API URL (Grafana 読み取り URL)",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"GrafanaUrl"
]
}
},
"RemoteReadUrl": {
"Description": "内部リモート読み取り URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"RemoteReadUrl"
]
}
},
"PushGatewayUrl": {
"Description": "内部プッシュ ゲートウェイ URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"PushGatewayUrl"
]
}
},
"OpenTelemetryUrl": {
"Description": "内部 OpenTelemetry URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"OpenTelemetryUrl"
]
}
},
"InternetOpenTelemetryUrl": {
"Description": "インターネット OpenTelemetry URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"InternetOpenTelemetryUrl"
]
}
},
"InternetRemoteReadUrl": {
"Description": "インターネット リモート読み取り URL",
"Value": {
"Fn::GetAtt": [
"PrometheusUrl",
"InternetRemoteReadUrl"
]
}
}
}
}