diff --git a/.gitignore b/.gitignore index decb5a8..c964225 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ ### Custom ### -# manual -cmd/otelgen/otelgen +/otelgen # goreleaser dist/ diff --git a/internal/cli/metrics_root.go b/internal/cli/metrics_root.go index 0f4c706..5459728 100644 --- a/internal/cli/metrics_root.go +++ b/internal/cli/metrics_root.go @@ -75,7 +75,7 @@ func createExporter(ctx context.Context, c *cli.Context, grpcExpOpt []otlpmetric if c.String("protocol") == "http" { logger.Info("starting HTTP exporter") - exp, err = NewMetricExporter(ctx, "grpc", httpExpOpt) + exp, err = NewMetricExporter(ctx, "http", httpExpOpt) if err != nil { logger.Fatal("failed to create HTTP exporter: %v", zap.Error(err)) }