/** * 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 received in each RPC. */ export declare const GRPC_SERVER_RECEIVED_MESSAGES_PER_RPC: Measure; /** {@link Measure} for gRPC server latency in milliseconds. */ export declare const GRPC_SERVER_SERVER_LATENCY: Measure; /** {@link Measure} for number of messages sent in each RPC. */ export declare const GRPC_SERVER_SENT_MESSAGES_PER_RPC: Measure; /** {@link Measure} for total bytes received across all messages per RPC. */ export declare const GRPC_SERVER_RECEIVED_BYTES_PER_RPC: Measure; /** * {@link Measure} for total bytes sent across all response messages per RPC. */ export declare const GRPC_SERVER_SENT_BYTES_PER_RPC: Measure; /** * Tag key that represents a server gRPC method. * * {@link #GRPC_SERVER_METHOD} is set when an incoming request starts and is * available in the context for the entire RPC call handling. */ export declare const GRPC_SERVER_METHOD: { name: string; }; /** * Tag key that represents a server gRPC canonical status. Refer to * https://github.com/grpc/grpc/blob/master/doc/statuscodes.md. * * {@link #GRPC_SERVER_STATUS} is set when an incoming request finishes and * is only available around metrics recorded at the end of the incoming request. */ export declare const GRPC_SERVER_STATUS: { name: string; }; export declare const GRPC_BASIC_SERVER_VIEWS: View[];