File tree Expand file tree Collapse file tree
src/cloudforet/monitoring/manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def get_data_source_metadata():
1717 metadata = LogMetadata .set_fields (
1818 name = 'cloud-logging-table' ,
1919 fields = [
20- MoreField .data_source ('Event Name' , 'log_name ' , options = {
20+ MoreField .data_source ('Method Name' , 'proto_payload.methodName ' , options = {
2121 'layout' : {
2222 'name' : 'Event Details' ,
2323 'type' : 'popup' ,
@@ -36,9 +36,9 @@ def get_data_source_metadata():
3636 'gray.500' : ['DEBUG' , 'INFO' ],
3737 'black' : ['DEFAULT' ]
3838 }),
39- TextDyField .data_source ('Method name' , 'proto_payload.methodName' ),
4039 TextDyField .data_source ('User Name' , 'proto_payload.authenticationInfo.principalEmail' ),
4140 DateTimeDyField .data_source ('Event Time' , 'timestamp' ),
41+ TextDyField .data_source ('Event Name' , 'log_name' )
4242 ]
4343 )
4444 return metadata
You can’t perform that action at this time.
0 commit comments