Azure / Azure/azure-libraries-for-java

For HDInsights Service, REST API call does not return any time series values when `$filter` param on combination of dimensions are specified in the query.

オープン
#668 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る
Insights Question Service Attention
主要言語
Java
スター
97
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

Using REST API call of Metrics - List, for Azure HDInsights service does not return any time series values when `$filter` parameter on dimensions is specified in the query.

Query Parameters:
```
resourceUri: subscriptions/1248268d-051f-432a-8e63-e83a9d36e776/resourceGroups/gangadhartestapp/providers/Microsoft.HDInsight/clusters/kafkaclustergs
api-version: 2018-01-01
metricnames: GatewayRequests,CategorizedGatewayRequests
interval: PT1M //or P1D etc.
timespan: 2018-11-28T12:00:00Z/2018-11-30T12:00:00Z //or any other timespan
$filter: ClusterDnsName eq '*' and HttpStatus eq '*'
```
Response Body:
```
{
"cost": 0,
"timespan": "2018-11-28T12:00:00Z/2018-11-30T12:00:00Z",
"interval": "P1D",
"value": [
{
"id": "/subscriptions/1248268d-051f-432a-8e63-e83a9d36e776/resourceGroups/gangadhartestapp/providers/Microsoft.HDInsight/clusters/kafkaclustergs/providers/Microsoft.Insights/metrics/GatewayRequests",
"type": "Microsoft.Insights/metrics",
"name": {
"value": "GatewayRequests",
"localizedValue": "Gateway Requests"
},
"unit": "Count",
"timeseries": []
},
{
"id": "/subscriptions/1248268d-051f-432a-8e63-e83a9d36e776/resourceGroups/gangadhartestapp/providers/Microsoft.HDInsight/clusters/kafkaclustergs/providers/Microsoft.Insights/metrics/CategorizedGatewayRequests",
"type": "Microsoft.Insights/metrics",
"name": {
"value": "CategorizedGatewayRequests",
"localizedValue": "Categorized Gateway Requests"
},
"unit": "Count",
"timeseries": []
}
],
"namespace": "Microsoft.HDInsight/clusters",
"resourceregion": "westus2"
}
```

If the `$filter` parameter is not specified or any one dimension is specified, the query returns time series values. But when combination of dimensions are specified ($filter: ClusterDnsName eq '*' and HttpStatus eq '*'), the query doesn't return any time series values. The `$filter` param is required to retrieve metric dimensions `ClusterDnsName`, `HttpStatus`.

Let us know if further information is required to investigate this.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Metrics - List REST API のエントリポイントから始め、ClusterDnsName と HttpStatus を組み合わせたフィルターを使用して HDInsights クエリを再現します。フィルターなし、または 1 つのディメンションを使用したリクエストと比較します。完了条件は、組み合わせたフィルターが期待される時系列の値を返すこと、または問題が Azure サービスの制限として文書化されていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, java
領域
api, cloud, observability
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。