/** * Copyright 2019, OpenCensus Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { Measure, View } from '@opencensus/core'; /** {@link Measure} for number of messages sent in the RPC. */ export declare const GRPC_CLIENT_SENT_MESSAGES_PER_RPC: Measure; /** * {@link Measure} for total bytes sent across all request messages per RPC. */ export declare const GRPC_CLIENT_SENT_BYTES_PER_RPC: Measure; /** {@link Measure} for number of response messages received per RPC. */ export declare const GRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC: Measure; /** * {@link Measure} for total bytes received across all response messages per RPC */ export declare const GRPC_CLIENT_RECEIVED_BYTES_PER_RPC: Measure; /** {@link Measure} for gRPC client roundtrip latency in milliseconds. */ export declare const GRPC_CLIENT_ROUNDTRIP_LATENCY: Measure; /** {@link Measure} for gRPC server latency in milliseconds. */ export declare const GRPC_CLIENT_SERVER_LATENCY: Measure; /** * Tag key that represents a client gRPC method. * * {@link #GRPC_CLIENT_METHOD} is set when an outgoing request starts and is * available in all the recorded metrics. */ export declare const GRPC_CLIENT_METHOD: { name: string; }; /** * Tag key that represents a client gRPC canonical status. Refer to * https://github.com/grpc/grpc/blob/master/doc/statuscodes.md. * *

{@link #GRPC_CLIENT_STATUS} is set when an outgoing request finishes and * is only available around metrics recorded at the end of the outgoing request. */ export declare const GRPC_CLIENT_STATUS: { name: string; }; export declare const GRPC_BASIC_CLIENT_VIEWS: View[];