mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 18:35:58 +08:00
chore: check http.url exists (#7429)
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
This commit is contained in:
parent
64071165c4
commit
ac7ecac2c1
@ -70,7 +70,18 @@ func BuildDomainList(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "endpoints",
|
Expression: "endpoints",
|
||||||
GroupBy: getGroupBy([]v3.AttributeKey{
|
GroupBy: getGroupBy([]v3.AttributeKey{
|
||||||
@ -95,7 +106,18 @@ func BuildDomainList(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "lastseen",
|
Expression: "lastseen",
|
||||||
GroupBy: getGroupBy([]v3.AttributeKey{
|
GroupBy: getGroupBy([]v3.AttributeKey{
|
||||||
@ -120,7 +142,18 @@ func BuildDomainList(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "rps",
|
Expression: "rps",
|
||||||
GroupBy: getGroupBy([]v3.AttributeKey{
|
GroupBy: getGroupBy([]v3.AttributeKey{
|
||||||
@ -155,6 +188,16 @@ func BuildDomainList(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
Operator: "=",
|
Operator: "=",
|
||||||
Value: "true",
|
Value: "true",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
}, thirdPartyApis.Filters),
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "error_rate",
|
Expression: "error_rate",
|
||||||
@ -182,7 +225,18 @@ func BuildDomainList(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "p99",
|
Expression: "p99",
|
||||||
GroupBy: getGroupBy([]v3.AttributeKey{
|
GroupBy: getGroupBy([]v3.AttributeKey{
|
||||||
@ -234,7 +288,18 @@ func BuildDomainInfo(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "endpoints",
|
Expression: "endpoints",
|
||||||
Disabled: false,
|
Disabled: false,
|
||||||
@ -263,7 +328,18 @@ func BuildDomainInfo(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "p99",
|
Expression: "p99",
|
||||||
Disabled: false,
|
Disabled: false,
|
||||||
@ -285,7 +361,18 @@ func BuildDomainInfo(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "error_rate",
|
Expression: "error_rate",
|
||||||
Disabled: false,
|
Disabled: false,
|
||||||
@ -306,7 +393,18 @@ func BuildDomainInfo(thirdPartyApis *ThirdPartyApis) (*v3.QueryRangeParamsV3, er
|
|||||||
SpaceAggregation: v3.SpaceAggregationSum,
|
SpaceAggregation: v3.SpaceAggregationSum,
|
||||||
Filters: &v3.FilterSet{
|
Filters: &v3.FilterSet{
|
||||||
Operator: "AND",
|
Operator: "AND",
|
||||||
Items: getFilterSet([]v3.FilterItem{}, thirdPartyApis.Filters),
|
Items: getFilterSet([]v3.FilterItem{
|
||||||
|
{
|
||||||
|
Key: v3.AttributeKey{
|
||||||
|
Key: "http.url",
|
||||||
|
DataType: v3.AttributeKeyDataTypeString,
|
||||||
|
IsColumn: false,
|
||||||
|
Type: v3.AttributeKeyTypeTag,
|
||||||
|
},
|
||||||
|
Operator: v3.FilterOperatorExists,
|
||||||
|
Value: "",
|
||||||
|
},
|
||||||
|
}, thirdPartyApis.Filters),
|
||||||
},
|
},
|
||||||
Expression: "lastseen",
|
Expression: "lastseen",
|
||||||
Disabled: false,
|
Disabled: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user