Java 跟踪注释

Java 跟踪注释是元数据键(键值对),由 Instana 的 Java Tracesensor在监控 Java 应用程序时自动创建并捕获。

Java 库的注释键

以下注释由 InstanaJava 跟踪传感器追踪的不同库创建:

技术 注释键
Aerospike aerospike.error, aerospike.op
Akka Remote akka.error, akka.msg, akka.path, akka.recipient, akka.sender
Amazon DynamoDB dynamodb.error, dynamodb.op, dynamodb.region, dynamodb.table
Amazon Kinesis kinesis.error, kinesis.op, kinesis.record, kinesis.shard, kinesis.shardType, kinesis.startSequenceNumber, kinesis.stream
Amazon S3 s3.bucket, s3.error, s3.exists, s3.key, s3.op, s3.region
Amazon SNS sns.error, sns.phone, sns.response.code, sns.subject, sns.target, sns.topic, sns.type
Amazon SQS sqs.error, sqs.group, sqs.queue, sqs.response.code, sqs.size, sqs.sort, sqs.type
Apache Axis http.error, http.header.*, http.header.soapaction, http.host, http.method, http.params, http.size, http.status, http.url, http.wsdl_op, http.wsdl_srv
Apache Camel camel.error, camel.quartz, camel.size, camel.sort, camel.timer, camel.type
Apache CXF cxf.type, http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.size, http.status, http.url, http.wsdl_op, http.wsdl_srv
Apache 达博 dubbo.consumer.version, dubbo.group, dubbo.interface, dubbo.method, dubbo.path, dubbo.provider.version, rpc.call, rpc.error, rpc.host, rpc.port
Apache HBase hbase.error, hbase.operation, hbase.table
Apache HttpClient http.error, http.header.*, http.host, http.method, http.params, http.size, http.status, http.url
Apache 球门柱 wicket.ajax, http.error, http.header.*, http.host, http.method, http.params, http.status, http.url
区块猎犬 sdk.custom.tags.reactor.blockhound.*
Camunda activity.desc, activity.id, activity.name, activity.type, camunda.id.ext, camunda.retries, camunda.topic.name, camunda.worker.id, process.application.name, process.businessKey, process.definitionId, process.id, process.name, process.snapshot.acronym, process.snapshot.name, process.variable.*, rootProcess.id
Corba (Sun) corba.method, corba.orb
Couchbase couchbase.bucket, couchbase.error, couchbase.hostname, couchbase.indexname, couchbase.type
DistributeMe distributeme.error, distributeme.method, distributeme.service
EhCache action, elements, name
EJB ejb.app, ejb.bean, ejb.connection, ejb.error, ejb.method, ejb.module, ejb.node, ejb.schedule.id
Elasticsearch elasticsearch.action, elasticsearch.id, elasticsearch.index, elasticsearch.query
FaunaDB faunadb.error, faunadb.query
FTP ftp.error, ftp.file, ftp.host, ftp.port, ftp.type
Google Cloud Storage gcs.accessId, gcs.bucket, gcs.destinationBucket, gcs.destinationObject, gcs.entity, gcs.error, gcs.numberOfOperations, gcs.object, gcs.op, gcs.projectId, gcs.range, gcs.sourceBucket, gcs.sourceObject
GWT( Google Web工具包) rpc.call, rpc.error
Hazelcast hz.conn, hz.error, hz.name, hz.op
休眠 error, id, mode, sort, target, type
IBM BAW activity.desc, activity.id, activity.name, activity.type, process.application.name, process.businessKey, process.definitionId, process.id, process.name, process.snapshot.acronym, process.snapshot.name, process.variable.*, rootProcess.id
IBM IMS ims.datastore, ims.error, ims.exec, ims.hostname, ims.interaction.verb, ims.port
IBM JCA jms.destination, jms.error, jms.message, jms.sort, jms.type
JBPM activity.desc, activity.id, activity.name, activity.type, process.businessKey, process.definitionId, process.id, process.name, rootProcess.id
JBoss Data Grid datagrid.cachename, datagrid.clustername, datagrid.connection, datagrid.error, datagrid.operation
JBoss Scheduler jboss.scheduler.error, jboss.scheduler.name, jboss.scheduler.parameters
JDBC jdbc.connection, jdbc.error, jdbc.size, jdbc.statement
Jersey(JAX-RS) http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url
JMS jms.destination, jms.error, jms.message, jms.selector, jms.sort, jms.type
Kafka kafka.access, kafka.error, kafka.service
Kafka 流 kafka.stream.access, kafka.stream.function
LDAP ldap.error, ldap.query, ldap.url
Log4j log.message, log.parameters
JavaMail mail.endpoint, mail.error, mail.type
Memcached memcached.connection, memcached.error, memcached.key, memcached.operation, memcache.command
微型宇宙人 HTTP http.error, http.header.*, http.host, http.method, http.params, http.status, http.url
MongoDB mongo.command, mongo.filter, mongo.json, mongo.namespace, mongo.opcode, mongo.service
Mule ESB http.host, http.method, http.params, http.port, http.url, mule.address, mule.error, mule.flow, mule.pattern, mule.protocol
Neo4j neo4j.conn, neo4j.error, neo4j.stmt
Play框架 http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url
Quartz Scheduler quartz.error, quartz.group, quartz.name, quartz.type
RabbitMQ rabbitmq.address, rabbitmq.exchange, rabbitmq.key, rabbitmq.size, rabbitmq.sort
鼠帮 http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url
ReactiveMongo mongo.command, mongo.namespace, mongo.service
Redis redis.command, redis.connection, redis.error
安心 http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url
RMI rmi.error, rmi.host, rmi.method
Servlet http.error, http.header.*, http.host, http.method, http.params, http.status, http.url
慰藉( Spring ) solace.application_message_id, solace.application_message_type, solace.destination, solace.error, solace.op
Spring Batch batch.exitCode, batch.job, batch.parameters
Spring Cloud AWS 消息传递 sqs.error, sqs.queue, sqs.size, sqs.sort
Spring 网络 http.context_root, http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url
Spring WebFlux http.error, http.header.*, http.host, http.hystrix_fallback_uri, http.hystrix_name, http.method, http.params, http.path_tpl, http.route_id, http.route_uri, http.status, http.url
塔贝克斯 tabex.con
暗流 http.error, http.header.*, http.host, http.method, http.params, http.status, http.url
URL 连接(JDK) http.error, http.header.*, http.host, http.method, http.params, http.path, http.size, http.status, http.url
Vert.x 簇 vertx.cluster.address, vertx.cluster.sort
Vert.x HTTP http.error, http.header.*, http.host, http.method, http.params, http.port, http.size, http.status, http.url
Vert.x Redis vertx.redis.cmd, vertx.redis.conn, vertx.redis.error
WebLogic RPC rpc.flavor, rpc.call, rpc.error, rpc.host, rpc.port
Webmethods 客户端 http.error, http.method, http.path, http.path_tpl

注释关键模式

类别 前缀模式 公共属性
HTTP http.* method, host, url, params, status, error, size, header.*, port, path, path_tpl, context_root, wsdl_srv, wsdl_op, route_id, route_uri, hystrix_name, hystrix_fallback_uri
数据库 {technology}.* command, query, connection, error, namespace, service, filter, json, operation, table, index
消息传递 {technology}.* sort, destination, message, error, access, service, type, selector
{service}.* op, region, error, table, stream, shard, queue, size
BPM activity.*, process.*, rootProcess.* id, name, type, businessKey, definitionId, application.name, snapshot.name, variable.*
RPC {technology}.* method, host, error, call, port, path, interface, group, version
缓存 {technology}.* operation, key, connection, error, command, name
注:
  • 带有 的 * 键表示动态前缀,其具体键值会根据上下文而变化。
  • http.header.* HTTP 标头使用前缀 ` http.header.` 加上标头名称。
  • bpm.variable.* BPM 变量使用前缀 ` bpm.variable.` 加上变量名。
  • 某些技术共享相同的注释键(例如,基于 HTTP 的多种技术使用 http.* 相同键)。