UNPKG

@wundergraph/apollo-to-cosmo-metrics

Version:

An apollo gateway plugin that exports schema usage metrics to cosmo

31 lines (30 loc) 1.43 kB
import { MethodKind } from '@bufbuild/protobuf'; import { PublishAggregatedGraphQLRequestMetricsRequest, PublishAggregatedGraphQLRequestMetricsResponse, PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse } from './graphqlmetrics_pb.js'; /** * PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service * * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics */ export declare const publishGraphQLMetrics: { readonly localName: "publishGraphQLMetrics"; readonly name: "PublishGraphQLMetrics"; readonly kind: MethodKind.Unary; readonly I: typeof PublishGraphQLRequestMetricsRequest; readonly O: typeof PublishOperationCoverageReportResponse; readonly service: { readonly typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService"; }; }; /** * @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishAggregatedGraphQLMetrics */ export declare const publishAggregatedGraphQLMetrics: { readonly localName: "publishAggregatedGraphQLMetrics"; readonly name: "PublishAggregatedGraphQLMetrics"; readonly kind: MethodKind.Unary; readonly I: typeof PublishAggregatedGraphQLRequestMetricsRequest; readonly O: typeof PublishAggregatedGraphQLRequestMetricsResponse; readonly service: { readonly typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService"; }; };