Scopes and Fields

Using the Aggregation Function, the requests will be grouped by time and Group Key(s) in each scope.

SCOPE Service

This calculates the metrics data from each request of the service.

NameRemarksGroup KeyType
nameThe name of the service.string
layerLayer represents an abstract framework in the computer science, such as operation system(OS_LINUX layer), Kubernetes(k8s layer)enum
serviceInstanceNameThe name of the service instance ID.string
endpointNameThe name of the endpoint, such as a full path of HTTP URI.string
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request. Such as: Database, HTTP, RPC, gRPC.enum
tagsThe labels of each request. Each value is made up by TagKey:TagValue in the segment.List<String>
tagThe key-value pair of span tags in the segment.Map<String, String>
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string

SCOPE TCPService

This calculates the metrics data from each request of the TCP service.

NameRemarksGroup KeyType
nameThe name of the service.string
layerLayer represents an abstract framework in the computer science, such as operation system(OS_LINUX layer), Kubernetes(k8s layer)enum
serviceInstanceNameThe name of the service instance ID.string
tagsThe labels of each request. Each value is made up by TagKey:TagValue in the segment.List<String>
tagThe key-value pair of span tags in the segment.Map<String, String>
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string
receivedBytesThe received bytes of the TCP traffic.long
sentBytesThe sent bytes of the TCP traffic.long

SCOPE ServiceInstance

This calculates the metrics data from each request of the service instance.

NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
endpointNameThe name of the endpoint, such as a full path of the HTTP URI.string
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
tagsThe labels of each request. Each value is made up by TagKey:TagValue in the segment.List<String>
tagThe key-value pair of span tags in the segment.Map<String, String>
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string

SCOPE TCPServiceInstance

This calculates the metrics data from each request of the service instance.

NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
tagsThe labels of each request. Each value is made up by TagKey:TagValue in the segment.List<String>
tagThe key-value pair of span tags in the segment.Map<String, String>
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string
receivedBytesThe received bytes of the TCP traffic.long
sentBytesThe sent bytes of the TCP traffic.long

Secondary scopes of ServiceInstance

This calculates the metrics data if the service instance is a JVM and collects through javaagent.

  1. SCOPE ServiceInstanceJVMCPU
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
usePercentThe percentage of CPU time spent.double
  1. SCOPE ServiceInstanceJVMMemory
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
heapStatusIndicates whether the metric has a heap property or not.bool
initSee the JVM documentation.long
maxSee the JVM documentation.long
usedSee the JVM documentation.long
committedSee the JVM documentation.long
  1. SCOPE ServiceInstanceJVMMemoryPool
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
poolTypeThe type may be CODE_CACHE_USAGE, NEWGEN_USAGE, OLDGEN_USAGE, SURVIVOR_USAGE, PERMGEN_USAGE, or METASPACE_USAGE based on different versions of JVM.enum
initSee the JVM documentation.long
maxSee the JVM documentation.long
usedSee the JVM documentation.long
committedSee the JVM documentation.long
  1. SCOPE ServiceInstanceJVMGC
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
phaseIncludes both NEW and OLD.Enum
timeThe time spent in GC.long
countThe count in GC operations.long
  1. SCOPE ServiceInstanceJVMThread
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
liveCountThe current number of live threads.long
daemonCountThe current number of daemon threads.long
peakCountThe current number of peak threads.long
runnableStateThreadCountThe current number of threads in runnable state.long
blockedStateThreadCountThe current number of threads in blocked state.long
waitingStateThreadCountThe current number of threads in waiting state.long
timedWaitingStateThreadCountThe current number of threads in time-waiting state.long
  1. SCOPE ServiceInstanceJVMClass
NameRemarksGroup KeyType
nameThe name of the service instance, such as ip:port@Service Name. Note: Currently, the native agent uses uuid@ipv4 as the instance name, which does not assist in setting up a filter in aggregation.string
serviceNameThe name of the service.string
loadedClassCountThe number of classes that are currently loaded in the JVM.long
totalUnloadedClassCountThe total number of classes unloaded since the JVM has started execution.long
totalLoadedClassCountThe total number of classes that have been loaded since the JVM has started execution.long

SCOPE Endpoint

This calculates the metrics data from each request of the endpoint in the service.

NameRemarksGroup KeyType
nameThe name of the endpoint, such as a full path of the HTTP URI.string
serviceNameThe name of the service.string
serviceNodeTypeThe type of node to which the Service or Network address belongs, such as Normal, Database, MQ, or Cache.enum
serviceInstanceNameThe name of the service instance ID.string
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
tagsThe labels of each request. Each value is made up by TagKey:TagValue in the segment.List<String>
tagThe key-value pair of span tags in the segment.Map<String, String>
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string

SCOPE ServiceRelation

This calculates the metrics data from each request between services.

NameRemarksGroup KeyType
sourceServiceNameThe name of the source service.string
sourceServiceInstanceNameThe name of the source service instance.string
sourceLayerThe layer of the source service.enum
destServiceNameThe name of the destination service.string
destServiceInstanceNameThe name of the destination service instance.string
destLayerThe layer of the destination service.enum
endpointThe endpoint used in this call.string
componentIdThe ID of component used in this call.yesstring
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
detectPointWhere the relation is detected. The value may be client, server, or proxy.yesenum
tlsModeThe TLS mode between source and destination services, such as service_relation_mtls_cpm = from(ServiceRelation.*).filter(tlsMode == "mTLS").cpm()string
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string

SCOPE TCPServiceRelation

This calculates the metrics data from each request between services.

NameRemarksGroup KeyType
sourceServiceNameThe name of the source service.string
sourceServiceInstanceNameThe name of the source service instance.string
sourceLayerThe layer of the source service.enum
destServiceNameThe name of the destination service.string
destServiceInstanceNameThe name of the destination service instance.string
destLayerThe layer of the destination service.enum
endpointThe endpoint used in this call.string
componentIdThe ID of component used in this call.yesstring
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
detectPointWhere the relation is detected. The value may be client, server, or proxy.yesenum
tlsModeThe TLS mode between source and destination services, such as service_relation_mtls_cpm = from(ServiceRelation.*).filter(tlsMode == "mTLS").cpm()string
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string
receivedBytesThe received bytes of the TCP traffic.long
sentBytesThe sent bytes of the TCP traffic.long

SCOPE ServiceInstanceRelation

This calculates the metrics data from each request between service instances.

NameRemarksGroup KeyType
sourceServiceNameThe name of the source service.string
sourceServiceInstanceNameThe name of the source service instance.string
sourceServiceLayerThe layer of the source service.enum
destServiceNameThe name of the destination service.
destServiceInstanceNameThe name of the destination service instance.string
destServiceLayerThe layer of the destination service.enum
endpointThe endpoint used in this call.string
componentIdThe ID of the component used in this call.yesstring
latencyThe time taken by each request.int
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
detectPointWhere the relation is detected. The value may be client, server, or proxy.yesenum
tlsModeThe TLS mode between source and destination service instances, such as service_instance_relation_mtls_cpm = from(ServiceInstanceRelation.*).filter(tlsMode == "mTLS").cpm()string
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string

SCOPE TCPServiceInstanceRelation

This calculates the metrics data from each request between service instances.

NameRemarksGroup KeyType
sourceServiceNameThe name of the source service.string
sourceServiceInstanceNameThe name of the source service instance.string
sourceServiceLayerThe layer of the source service.enum
destServiceNameThe name of the destination service.
destServiceInstanceNameThe name of the destination service instance.string
destServiceLayerThe layer of the destination service.enum
componentIdThe ID of the component used in this call.yesstring
detectPointWhere the relation is detected. The value may be client, server, or proxy.yesenum
tlsModeThe TLS mode between source and destination service instances, such as service_instance_relation_mtls_cpm = from(ServiceInstanceRelation.*).filter(tlsMode == "mTLS").cpm()string
sideCar.internalErrorCodeThe sidecar/gateway proxy internal error code. The value is based on the implementation.string
receivedBytesThe received bytes of the TCP traffic.long
sentBytesThe sent bytes of the TCP traffic.long

SCOPE EndpointRelation

This calculates the metrics data of the dependency between endpoints. This relation is hard to detect, and it depends on the tracing library to propagate the previous endpoint. Therefore, the EndpointRelation scope aggregation comes into effect only in services under tracing by SkyWalking native agents, including auto instrument agents (like Java and .NET), or other tracing context propagation in SkyWalking specification.

NameRemarksGroup KeyType
endpointThe parent endpoint in the dependency.string
serviceNameThe name of the service.string
serviceNodeTypeThe type of node to which the Service or Network address belongs, such as Normal, Database, MQ, or Cache.enum
childEndpointThe endpoint used by the parent endpoint in row(1).string
childServiceNameThe endpoint used by the parent service in row(1).string
childServiceNodeTypeThe type of node to which the Service or Network address belongs, such as Normal, Database, MQ, or Cache.string
childServiceInstanceNameThe endpoint used by the parent service instance in row(1).string
rpcLatencyThe latency of the RPC between the parent endpoint and childEndpoint, excluding the latency caused by the parent endpoint itself.
componentIdThe ID of the component used in this call.yesstring
statusIndicates the success or failure of the request.bool(true for success)
httpResponseStatusCodeThe response code of the HTTP response, and if this request is the HTTP call. E.g. 200, 404, 302int
rpcStatusCodeThe string value of the rpc response code.string
typeThe type of each request, such as Database, HTTP, RPC, or gRPC.enum
detectPointIndicates where the relation is detected. The value may be client, server, or proxy.yesenum

SCOPE BrowserAppTraffic

This calculates the metrics data from each request of the browser application (browser only).

NameRemarksGroup KeyType
nameThe browser application name of each request.string
countThe number of request, which is fixed at 1.int
trafficCategoryThe traffic category. The value may be NORMAL, FIRST_ERROR, or ERROR.enum
errorCategoryThe error category. The value may be AJAX, RESOURCE, VUE, PROMISE, or UNKNOWN.enum

SCOPE BrowserAppSingleVersionTraffic

This calculates the metrics data from each request of a single version in the browser application (browser only).

NameRemarksGroup KeyType
nameThe single version name of each request.string
serviceNameThe name of the browser application.string
countThe number of request, which is fixed at 1.int
trafficCategoryThe traffic category. The value may be NORMAL, FIRST_ERROR, or ERROR.enum
errorCategoryThe error category. The value may be AJAX, RESOURCE, VUE, PROMISE, or UNKNOWN.enum

SCOPE BrowserAppPageTraffic

This calculates the metrics data from each request of the page in the browser application (browser only).

NameRemarksGroup KeyType
nameThe page name of each request.string
serviceNameThe name of the browser application.string
countThe number of request, which is fixed at 1.int
trafficCategoryThe traffic category. The value may be NORMAL, FIRST_ERROR, or ERROR.enum
errorCategoryThe error category. The value may be AJAX, RESOURCE, VUE, PROMISE, or UNKNOWN.enum

SCOPE BrowserAppPagePerf

This calculates the metrics data from each request of the page in the browser application (browser only).

NameRemarksGroup KeyType
nameThe page name of each request.string
serviceNameThe name of the browser application.string
redirectTimeThe time taken to redirect.int(in ms)
dnsTimeThe DNS query time.int(in ms)
ttfbTimeTime to first byte.int(in ms)
tcpTimeTCP connection time.int(in ms)
transTimeContent transfer time.int(in ms)
domAnalysisTimeDom parsing time.int(in ms)
fptTimeFirst paint time or blank screen time.int(in ms)
domReadyTimeDom ready time.int(in ms)
loadPageTimePage full load time.int(in ms)
resTimeSynchronous load resources in the page.int(in ms)
sslTimeOnly valid for HTTPS.int(in ms)
ttlTimeTime to interact.int(in ms)
firstPackTimeFirst pack time.int(in ms)
fmpTimeFirst Meaningful Paint.int(in ms)

SCOPE Event

This calculates the metrics data from events.

NameRemarksGroup KeyType
nameThe name of the event.string
serviceThe service name to which the event belongs to.string
serviceInstanceThe service instance to which the event belongs to, if any.string
endpointThe service endpoint to which the event belongs to, if any.string
typeThe type of the event, Normal or Error.string
messageThe message of the event.string
parametersThe parameters in the message, see parameters.string

SCOPE DatabaseAccess

This calculates the metrics data from each request of database.

NameRemarksGroup KeyType
nameThe service name of virtual database service.string
databaseTypeIdThe ID of the component used in this call.int
latencyThe time taken by each request.int(in ms)
statusIndicates the success or failure of the request.boolean

SCOPE DatabaseSlowStatement

This calculates the metrics data from slow request of database.

NameRemarksGroup KeyType
databaseServiceIdThe service id of virtual cache service.string
statementThe sql statement .string
latencyThe time taken by each request.int(in ms)
traceIdThe traceId of this slow statementstring

SCOPE CacheAccess

This calculates the metrics data from each request of cache system.

NameRemarksGroup KeyType
nameThe service name of virtual cache service.string
cacheTypeIdThe ID of the component used in this call.int
latencyThe time taken by each request.int(in ms)
statusIndicates the success or failure of the request.boolean
operationIndicates this access is used for write or readstring

SCOPE CacheSlowAccess

This calculates the metrics data from slow request of cache system , which is used for write or read operation.

NameRemarksGroup KeyType
cacheServiceIdThe service id of virtual cache service.string
commandThe cache command .string
keyThe cache command key.string
latencyThe time taken by each request.int(in ms)
traceIdThe traceId of this slow accessstring
statusIndicates the success or failure of the request.boolean
operationIndicates this access is used for write or readstring

SCOPE MQAccess

This calculates the service dimensional metrics data from each request of MQ system on consume/produce side

NameRemarksGroup KeyType
nameThe service name , usually it's MQ address(es)string
transmissionLatencyThe latency from produce side to consume side .int(in ms)
statusIndicates the success or failure of the request.boolean
operationIndicates this access is on Produce or Consume sideenum

SCOPE MQEndpointAccess

This calculates the endpoint dimensional metrics data from each request of MQ system on consume/produce side

NameRemarksGroup KeyType
serviceNameThe service name that this endpoint belongs to.string
endpointThe endpoint name , usually it's combined by queue,topicstring
transmissionLatencyThe latency from produce side to consume side .int(in ms)
statusIndicates the success or failure of the request.boolean
operationIndicates this access is on Produce or Consume sideenum

SCOPES with K8S Prefix

All metrics starting with K8S are derived from Kubernetes monitoring by Rover(eBPF agent).

Service, Service Instance and relations

For all K8SService, K8SServiceInstance, K8SServiceRelation and K8SServiceInstanceRelation, they all have the following package/protocol level metric contents.

NameRemarksGroup KeyType
typeThe metrics from log type, the following names should have the type prefix. The value may be connect, accept, close, write, read, protocol.string
connect.durationConnect to other service use duration.long(in nanoseconds)
connect.successThe connect is success or not.boolean
accept.durationAccept connection from client use duration.long(in nanoseconds)
close.durationClose one connection use duration.long(in nanoseconds)
close.successClose one connection is success or not.boolean
write.durationWrite data to the connection use duration.long(in nanoseconds)
write.syscallWrite data to the connection syscall name. The value should be Write, Writev, Send, SendTo, SendMsg, SendMmsg, SendFile, SendFile64.string
write.l4.durationWrite data to the connection use duration on Linux Layer 4.long(in nanoseconds)
write.l4.transmitPackageCountTotal package count on write data to the connection.long
write.l4.retransmitPackageCountTotal retransmit package count on write data to the connection.long
write.l4.totalPackageSizeTotal transmit package size on write data to the connection.long(bytes)
write.l3.durationWrite data to the connection use duration on Linux Layer 3.long(in nanoseconds)
write.l3.localDurationWrite data to the connection use local duration on Linux Layer 3.long(in nanoseconds)
write.l3.outputDurationWrite data to the connection use output duration on Linux Layer 3.long(in nanoseconds)
write.l3.resolveMACCountTotal resolve remote MAC address count on write data to the connection.long
write.l3.resolveMACDurationTotal resolve remote MAC address use duration on write data to the connection.long(in nanoseconds)
write.l3.netFilterCountTotal do net filtering count on write data to the connection.long
write.l3.netFilterDurationTotal do net filtering use duration on write data to the connection.long(in nanoseconds)
write.l2.durationWrite data to the connection use duration on Linux L2.long(nanoseconds)
write.l2.networkDeviceNameThe network device name on write data to the connection.string
write.l2.enterQueueBufferCountThe write package count to the network device queue on write data to the connection.long
write.l2.readySendDurationTotal ready send buffer duration on write data to the connection.long(in nanoseconds)
write.l2.networkDeviceSendDurationTotal network send buffer use duration on write data to the connection.long(in nanoseconds)
read.durationRead data from the connection use duration.long(in nanoseconds)
read.syscallRead data from the connection syscall name. The value should Read, Readv, Recv, RecvFrom, RecvMsg, RecvMmsg.string
read.l4.durationRead data to the connection use duration on Linux Layer 4.long(in nanoseconds)
read.l3.durationRead data to the connection use duration on Linux Layer 3.long(in nanoseconds)
read.l3.rcvDurationRead data to the connection use receive duration on Linux Layer 3.long(in nanoseconds)
read.l3.localDurationRead data to the connection use local duration on Linux Layer 3.long(in nanoseconds)
read.l3.netFilterCountTotal do net filtering count on read data from the connection.long
read.l3.netFilterDurationTotal do net filtering use duration on read data from the connection.long(in nanoseconds)
read.l2.netDeviceNameThe network device name on read data from the connection.string
read.l2.packageCountTotal read package count on the connection.long
read.l2.totalPackageSizeTotal read package size on the connection.long(bytes)
read.l2.packageToQueueDurationTotal read package to the queue duration on the connection.long(in nanoseconds)
read.l2.rcvPackageFromQueueDurationTotal read package from the queue duration on the connection.long(in nanoseconds)
protocol.typeThe protocol type name, the following names should have the type prefix. The value should be HTTP.string
protocol.successThis protocol request and response is success or not.boolean
protocol.http.latencyThe latency of HTTP response.long(in nanoseconds)
protocol.http.urlThe url path of HTTP request.string
protocol.http.methodThe method name of HTTP request.string
protocol.http.statusCodeThe response code of HTTP response.int
protocol.http.sizeOfRequestHeaderThe header size of HTTP request.long(bytes)
protocol.http.sizeOfRequestBodyThe body size of HTTP request.long(bytes)
protocol.http.sizeOfResponseHeaderThe header size of HTTP response.long(bytes)
protocol.http.sizeOfResponseBodyThe body size of HTTP response.long(bytes)
SCOPE K8SService
NameRemarksGroup KeyType
nameThe service name in kubernetes.string
layerThe layer in kubernetes service.string
detectPointWhere the relation is detected. The value may be client or server.enum

SCOPE K8SServiceInstance

NameRemarksGroup KeyType
serviceNameThe service name in kubernetes.string
serviceInstanceNameThe pod name in kubernetes.string
layerThe layer of kubernetes service.string
detectPointWhere the relation is detected. The value may be client or server.enum
SCOPE K8SServiceRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in kubernetes.string
sourceLayerThe source layer service in kubernetes.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdsThe ID of component used in this call.List
tlsModeThe TLS mode of relation. The value may be Plain or TLS.enum
destServiceNameThe dest service name in kubernetes.string
destLayerThe dest layer service in kubernetes.string
SCOPE K8SServiceRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in kubernetes.string
sourceLayerThe source layer service in kubernetes.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdThe ID of component used in this call.string
tlsModeThe TLS mode of relation. The value may be Plain or TLS.enum
destServiceNameThe dest service name in kubernetes.string
destLayerThe dest layer service in kubernetes.string
SCOPE K8SServiceInstanceRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in kubernetes.string
sourceServiceInstanceNameThe source pod name in kubernetes.string
sourceLayerThe source layer service in kubernetes.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdThe ID of component used in this call.string
tlsModeThe TLS mode of relation. The value may be Plain or TLS.enum
destServiceNameThe dest service name in kubernetes.string
destServiceInstanceNameThe dest pod name in kubernetes.string
destLayerThe dest layer service in kubernetes.string

Endpoint

For K8SEndpoint, they only have the following protocol level metric contents.

NameRemarksGroup KeyType
protocol.typeThe protocol type name, the following names should have the type prefix. The value should be HTTP.string
protocol.successThis protocol request and response is success or not.boolean
protocol.http.latencyThe latency of HTTP response.long(in nanoseconds)
protocol.http.urlThe url path of HTTP request.string
protocol.http.methodThe method name of HTTP request.string
protocol.http.statusCodeThe response code of HTTP response.int
protocol.http.sizeOfRequestHeaderThe header size of HTTP request.long(bytes)
protocol.http.sizeOfRequestBodyThe body size of HTTP request.long(bytes)
protocol.http.sizeOfResponseHeaderThe header size of HTTP response.long(bytes)
protocol.http.sizeOfResponseBodyThe body size of HTTP response.long(bytes)
SCOPE K8SEndpoint
NameRemarksGroup KeyType
serviceNameThe service name in kubernetes.string
layerThe layer in kubernetes service.string
endpointNameThe endpoint name detect in kubernetes service.string
durationThe duration of the service endpoint response latency.long

SCOPES with Cilium Prefix

All metrics starting with Cilium are derived from Cilium monitoring by Cilium Hubble.

Service, Service Instance and relations

For all CiliumService, CiliumServiceInstance, CiliumServiceRelation and CiliumServiceInstanceRelation, they all have the following L4/L7 metric contents.

NameRemarksGroup KeyType
verdictThe metrics verdict from Flow. The value may be forwarded and dropped.string
typeThe metrics type from Flow. The value may be tcp, http, dns, kakfa.string
directionThe metrics direction from Flow. The value may be ingress and egress.string
dropReasonWhen the verdict is dropped, the drop reason would be recorded.string
http.urlThe URL of the HTTP request.string
http.codeThe Response code of the HTTP response.int
http.protocolThe protocol of the HTTP request.string
http.methodThe method of the HTTP request.string
kafka.errorCodeThe error code of the Kafka request.int
kafka.errorCodeStringThe error code explaination of the Kafka request.string
kafka.apiVersionThe API version of the Kafka request.string
kafka.apiKeyThe API key of the Kafka request.string
kafka.correlationIdThe correlation ID of the Kafka request.string
kafka.topicThe topic of the Kafka request.string
dns.domainThe domain of the DNS request.string
dns.queryTypeThe query type of the DNS request.string
dns.rcodeThe response code of the DNS request.int
dns.recodeStringThe response code explaination of the DNS request.string
dns.ttlThe TTL of the DNS request.int
dns.ipCountThe count of the IP addresses of the DNS responsed.int
durationThe duration(millisecond) of the L7 response.long
successIs the response success of the L7 response.bool
SCOPE CiliumService
NameRemarksGroup KeyType
nameThe service name in Cilium.string
layerThe layer in Cilium service.string
detectPointWhere the relation is detected. The value may be client or server.enum
SCOPE CiliumServiceInstance
NameRemarksGroup KeyType
serviceNameThe service name in Cilium.string
serviceInstanceNameThe pod name in Cilium.string
layerThe layer of Cilium service.string
detectPointWhere the relation is detected. The value may be client or server.enum
SCOPE CiliumServiceRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in Cilium.string
sourceLayerThe source layer service in Cilium.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdThe ID of component used in this call.int
destServiceNameThe dest service name in Cilium.string
destLayerThe dest layer service in Cilium.string
SCOPE CiliumServiceInstanceRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in Cilium.string
sourceServiceInstanceNameThe source pod name in Cilium.string
sourceLayerThe source layer service in Cilium.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdThe ID of component used in this call.int
destServiceNameThe dest service name in Cilium.string
destServiceInstanceNameThe dest pod name in Cilium.string
destLayerThe dest layer service in Cilium.string

Endpoint and Endpoint Relation

For CiliumEndpoint and CiliumEndpointRelation, they have all the fields of L4/L7 metric contents, but the type only would be http, dns or kafka.

SCOPE CiliumEndpoint
NameRemarksGroup KeyType
serviceNameThe service name in Cilium.string
layerThe layer in Cilium service.string
endpointNameThe endpoint name detect in Cilium service.string
SCOPE CiliumEndpointRelation
NameRemarksGroup KeyType
sourceServiceNameThe source service name in Cilium.string
sourceLayerThe layer in Cilium source service.enum
sourceEndpointNameThe endpoint name detect in Cilium source service.string
detectPointWhere the relation is detected. The value may be client or server.enum
componentIdThe ID of component used in this call.int
destServiceNameThe dest service name in Cilium.string
destLayerThe layer in Cilium dest service.enum
destEndpointNameThe endpoint name detect in Cilium dest service.string