1// Licensed to the Software Freedom Conservancy (SFC) under one2// or more contributor license agreements. See the NOTICE file3// distributed with this work for additional information4// regarding copyright ownership. The SFC licenses this file5// to you under the Apache License, Version 2.0 (the6// "License"); you may not use this file except in compliance7// with the License. You may obtain a copy of the License at8//9// http://www.apache.org/licenses/LICENSE-2.010//11// Unless required by applicable law or agreed to in writing,12// software distributed under the License is distributed on an13// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY14// KIND, either express or implied. See the License for the15// specific language governing permissions and limitations16// under the License.17package org.openqa.selenium.remote.tracing;18public enum AttributeKey {19 EXCEPTION_EVENT("exception"),20 EXCEPTION_TYPE("exception.type"),21 EXCEPTION_MESSAGE("exception.message"),22 EXCEPTION_STACKTRACE("exception.stacktrace"),23 SPAN_KIND("span.kind"),24 HTTP_METHOD("http.method"),25 HTTP_URL("http.url"),26 HTTP_STATUS_CODE("http.status_code"),27 HTTP_TARGET_HOST("http.target_host"),28 HTTP_CLIENT_CLASS("http.client_class"),29 HTTP_HANDLER_CLASS("http.handler_class"),30 LOGGER_CLASS("logger"),31 DRIVER_RESPONSE("driver.response"),32 DRIVER_URL("driver.url"),33 DOWNSTREAM_DIALECT("downstream.dialect"),34 UPSTREAM_DIALECT("upstream.dialect"),35 SESSION_ID("session.id"),36 SESSION_CAPABILITIES("session.capabilities"),37 SESSION_URI("session.uri"),38 DATABASE_STATEMENT ("db.statement"),39 DATABASE_OPERATION ("db.operation"),40 DATABASE_USER ("db.user"),41 DATABASE_CONNECTION_STRING ("db.connection_string"),42 DATABASE_SYSTEM("db.system"),43 REQUEST_ID ("request.id");44 private final String key;45 AttributeKey(String key) {46 this.key = key;47 }48 public String getKey() {49 return this.key;50 }51}...