@@ -3,11 +3,13 @@ import {
33 IQuickFiltersConfig ,
44} from 'components/QuickFilters/types' ;
55import { DataTypes } from 'types/api/queryBuilder/queryAutocompleteResponse' ;
6+ import { DataSource } from 'types/common/queryBuilder' ;
67
78export const ExceptionsQuickFiltersConfig : IQuickFiltersConfig [ ] = [
89 {
910 type : FiltersType . CHECKBOX ,
1011 title : 'Environment' ,
12+ dataSource : DataSource . TRACES ,
1113 attributeKey : {
1214 key : 'deployment.environment' ,
1315 dataType : DataTypes . String ,
@@ -20,6 +22,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
2022 {
2123 type : FiltersType . CHECKBOX ,
2224 title : 'Service Name' ,
25+ dataSource : DataSource . TRACES ,
2326 attributeKey : {
2427 key : 'service.name' ,
2528 dataType : DataTypes . String ,
@@ -32,6 +35,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
3235 {
3336 type : FiltersType . CHECKBOX ,
3437 title : 'Hostname' ,
38+ dataSource : DataSource . TRACES ,
3539 attributeKey : {
3640 key : 'host.name' ,
3741 dataType : DataTypes . String ,
@@ -44,6 +48,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
4448 {
4549 type : FiltersType . CHECKBOX ,
4650 title : 'K8s Cluster Name' ,
51+ dataSource : DataSource . TRACES ,
4752 attributeKey : {
4853 key : 'k8s.cluster.name' ,
4954 dataType : DataTypes . String ,
@@ -56,6 +61,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
5661 {
5762 type : FiltersType . CHECKBOX ,
5863 title : 'K8s Deployment Name' ,
64+ dataSource : DataSource . TRACES ,
5965 attributeKey : {
6066 key : 'k8s.deployment.name' ,
6167 dataType : DataTypes . String ,
@@ -68,6 +74,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
6874 {
6975 type : FiltersType . CHECKBOX ,
7076 title : 'K8s Namespace Name' ,
77+ dataSource : DataSource . TRACES ,
7178 attributeKey : {
7279 key : 'k8s.namespace.name' ,
7380 dataType : DataTypes . String ,
@@ -80,6 +87,7 @@ export const ExceptionsQuickFiltersConfig: IQuickFiltersConfig[] = [
8087 {
8188 type : FiltersType . CHECKBOX ,
8289 title : 'K8s Pod Name' ,
90+ dataSource : DataSource . TRACES ,
8391 attributeKey : {
8492 key : 'k8s.pod.name' ,
8593 dataType : DataTypes . String ,
0 commit comments