@wundergraph/apollo-to-cosmo-metrics
Version:
An apollo gateway plugin that exports schema usage metrics to cosmo
31 lines (30 loc) • 1.48 kB
TypeScript
import { PublishAggregatedGraphQLRequestMetricsRequest, PublishAggregatedGraphQLRequestMetricsResponse, PublishGraphQLRequestMetricsRequest, PublishOperationCoverageReportResponse } from './graphqlmetrics_pb.js';
import { MethodKind } from '@bufbuild/protobuf';
/**
* @generated from service wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService
*/
export declare const GraphQLMetricsService: {
readonly typeName: "wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService";
readonly methods: {
/**
* PublishGraphQLMetrics publishes the GraphQL metrics to the metrics service
*
* @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishGraphQLMetrics
*/
readonly publishGraphQLMetrics: {
readonly name: "PublishGraphQLMetrics";
readonly I: typeof PublishGraphQLRequestMetricsRequest;
readonly O: typeof PublishOperationCoverageReportResponse;
readonly kind: MethodKind.Unary;
};
/**
* @generated from rpc wg.cosmo.graphqlmetrics.v1.GraphQLMetricsService.PublishAggregatedGraphQLMetrics
*/
readonly publishAggregatedGraphQLMetrics: {
readonly name: "PublishAggregatedGraphQLMetrics";
readonly I: typeof PublishAggregatedGraphQLRequestMetricsRequest;
readonly O: typeof PublishAggregatedGraphQLRequestMetricsResponse;
readonly kind: MethodKind.Unary;
};
};
};