Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-chambers committed Sep 20, 2024
1 parent 3b85ad1 commit 36d979f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/instrumentation.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as opentelemetry from "@opentelemetry/sdk-node";
import * as traceHttpProto from "@opentelemetry/exporter-trace-otlp-proto";
import * as metricsHttpProto from "@opentelemetry/exporter-metrics-otlp-proto";
import * as traceGrpcProto from "@opentelemetry/exporter-trace-otlp-grpc";
import * as metricsGrpcProto from "@opentelemetry/exporter-metrics-otlp-grpc";
import * as traceGrpc from "@opentelemetry/exporter-trace-otlp-grpc";
import * as metricsGrpc from "@opentelemetry/exporter-metrics-otlp-grpc";
import { PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
import { PinoInstrumentation } from "@opentelemetry/instrumentation-pino";
import { FastifyInstrumentation } from "@opentelemetry/instrumentation-fastify";
Expand Down Expand Up @@ -91,10 +91,10 @@ function getExporters(protocol: Protocol | string, endpoint: string): Exporters
switch (protocol) {
case "grpc":
return {
traceExporter: new traceGrpcProto.OTLPTraceExporter({
traceExporter: new traceGrpc.OTLPTraceExporter({
url: endpoint,
}),
metricsExporter: new metricsGrpcProto.OTLPMetricExporter({
metricsExporter: new metricsGrpc.OTLPMetricExporter({
url: endpoint,
})
};
Expand Down

0 comments on commit 36d979f

Please sign in to comment.