All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog.tracing.GraylogSemanticAttributes Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
/*
 * Copyright (C) 2020 Graylog, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the Server Side Public License, version 1,
 * as published by MongoDB, Inc.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * Server Side Public License for more details.
 *
 * You should have received a copy of the Server Side Public License
 * along with this program. If not, see
 * .
 */
package org.graylog.tracing;

import io.opentelemetry.api.common.AttributeKey;

import static io.opentelemetry.api.common.AttributeKey.stringKey;

public final class GraylogSemanticAttributes {
    private GraylogSemanticAttributes() {
    }

    public static final AttributeKey LOOKUP_TABLE_NAME = stringKey("org.graylog.lookup.table.name");

    public static final AttributeKey LOOKUP_CACHE_NAME = stringKey("org.graylog.lookup.cache.name");

    public static final AttributeKey LOOKUP_CACHE_TYPE = stringKey("org.graylog.lookup.cache.type");

    public static final AttributeKey LOOKUP_DATA_ADAPTER_NAME =
            stringKey("org.graylog.lookup.data_adapter.name");

    public static final AttributeKey LOOKUP_DATA_ADAPTER_TYPE =
            stringKey("org.graylog.lookup.data_adapter.type");

    public static final AttributeKey PERIODICAL_TYPE = stringKey("org.graylog.periodical.type");

    public static final AttributeKey SYSTEM_JOB_TYPE = stringKey("org.graylog.system_job.type");

    public static final AttributeKey SCHEDULER_JOB_CLASS = stringKey("org.graylog.scheduler.job_class");
    public static final AttributeKey SCHEDULER_JOB_DEFINITION_TYPE = stringKey("org.graylog.scheduler.job_definition.type");
    public static final AttributeKey SCHEDULER_JOB_DEFINITION_TITLE = stringKey("org.graylog.scheduler.job_definition.title");
    public static final AttributeKey SCHEDULER_JOB_DEFINITION_ID = stringKey("org.graylog.scheduler.job_definition.id");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy