SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: minor spelling fixes
nityanandagohain755d64061e95
diff --git a/pkg/query-service/app/opamp/logspipeline.go b/pkg/query-service/app/opamp/logspipeline.goindex e3f4dbeed0..c1dffa0980 100644--- a/pkg/query-service/app/opamp/logspipeline.go+++ b/pkg/query-service/app/opamp/logspipeline.go@@ -34,7 +34,7 @@ func UpsertLogsParsingProcessor(ctx context.Context, parsingProcessors map[strinreturn confHash, err}- BuildLogParsingProcessors(c, parsingProcessors)+ buildLogParsingProcessors(c, parsingProcessors)// get the processor listlogs := c["service"].(map[string]interface{})["pipelines"].(map[string]interface{})["logs"]@@ -89,7 +89,7 @@ func UpsertLogsParsingProcessor(ctx context.Context, parsingProcessors map[strin// check if the processors already exist// if yes then update the processor.// if something doesn't exists then remove it.-func BuildLogParsingProcessors(agentConf, parsingProcessors map[string]interface{}) error {+func buildLogParsingProcessors(agentConf, parsingProcessors map[string]interface{}) error {agentProcessors := agentConf["processors"].(map[string]interface{})exists := map[string]struct{}{}for key, params := range parsingProcessors {@@ -131,7 +131,7 @@ func buildLogsProcessors(current []interface{}, logsParserPipeline []interface{}existing[name] = i}- // create mapping from our tracesPipelinePlan (processors managed by us) to position in existing processors (from current config)+ // create mapping from our logsParserPipeline to position in existing processors (from current config)// this means, if "batch" holds position 3 in the current effective config, and 2 in our config, the map will be [2]: 3specVsExistingMap := map[int]int{}diff --git a/pkg/query-service/app/opamp/logspipeline_test.go b/pkg/query-service/app/opamp/logspipeline_test.goindex d612959d19..703d5ecb6e 100644--- a/pkg/query-service/app/opamp/logspipeline_test.go+++ b/pkg/query-service/app/opamp/logspipeline_test.go@@ -8,7 +8,7 @@ import ("go.signoz.io/signoz/pkg/query-service/constants")-var BuildProcessorTestData = []struct {+var buildProcessorTestData = []struct {Name stringagentConf map[string]interface{}pipelineProcessor map[string]interface{}@@ -89,9 +89,9 @@ var BuildProcessorTestData = []struct {}func TestBuildLogParsingProcessors(t *testing.T) {- for _, test := range BuildProcessorTestData {+ for _, test := range buildProcessorTestData {Convey(test.Name, t, func() {- err := BuildLogParsingProcessors(test.agentConf, test.pipelineProcessor)+ err := buildLogParsingProcessors(test.agentConf, test.pipelineProcessor)So(err, ShouldBeNil)So(test.agentConf, ShouldResemble, test.outputConf)})