Skip to content

Commit

Permalink
Merge branch 'main' into korniltsev/otlp_integration_tests_fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed Jan 3, 2025
2 parents 21eb83c + cd06698 commit f8b36f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Check your specific language SDK documentation for the exact configuration optio

The examples in this section provide samples you can use as a starting point for your own configurations.

Explore the [example](https://github.com/grafana/pyroscope/tree/main/examples/language-sdk-instrumentation/golang-push/rideshare-alloy) in our GitHub repository to learn how to configure Grafana Alloy to receive profiles from a Golang application instrumented with Pyroscope.
Explore the [example](https://github.com/grafana/pyroscope/tree/main/examples/language-sdk-instrumentation/golang-push/rideshare-alloy) in the Pyroscope GitHub repository to learn how to configure Grafana Alloy to receive profiles from a Golang application instrumented with Pyroscope.

### Basic receiving setup

Expand Down
4 changes: 0 additions & 4 deletions pkg/ingester/otlp/ingest_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ func TestSymbolizedFunctionNames(t *testing.T) {
expectedJSON := readJSONFile(t, "testdata/TestSymbolizedFunctionNames.json")
assert.JSONEq(t, expectedJSON, jsonStr)

os.WriteFile("testdata/TestSymbolizedFunctionNames.json", []byte(jsonStr), 0666)

}

func TestSampleAttributes(t *testing.T) {
Expand Down Expand Up @@ -487,8 +485,6 @@ func TestDifferentServiceNames(t *testing.T) {
assert.JSONEq(t, expectedJson, jsonStr)
assert.NotContains(t, jsonStr, "service.name")

os.WriteFile(expectedJsonPath, []byte(jsonStr), 0666)

}
}

Expand Down
2 changes: 0 additions & 2 deletions pkg/test/integration/ingest_otlp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ func TestIngestOTLP(t *testing.T) {
assert.NoError(t, err)

assert.Equal(t, string(expectedBytes), actualStr)
os.WriteFile(metric.expectedJsonPath, []byte(actualStr), 0644)

}
})
}
Expand Down

0 comments on commit f8b36f2

Please sign in to comment.