Java 추적 주석
Java 추적 주석은 Java 애플리케이션을 모니터링할 때 InstanaJava 의 Tracesensor가 자동으로 생성 및 캡처하는 메타데이터 키(키-값 쌍)입니다.
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.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 웹 툴킷) | 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 스케줄러 | jboss.scheduler.error, jboss.scheduler.name, jboss.scheduler.parameters |
| JDBC | jdbc.connection, jdbc.error, jdbc.size, jdbc.statement |
| 저지 (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 |
| 플레이 프레임워크 | 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 |
| RESTEasy | http.error, http.header.*, http.host, http.method, http.params, http.path_tpl, http.status, http.url |
| RMI | rmi.error, rmi.host, rmi.method |
| 서블릿 | 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 |
| 웹메소드 클라이언트 | 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.*사용합니다).