diff --git a/docs/sources/configure-client/grafana-alloy/receive_profiles.md b/docs/sources/configure-client/grafana-alloy/receive_profiles.md index 65a011321f..1fbfaae683 100644 --- a/docs/sources/configure-client/grafana-alloy/receive_profiles.md +++ b/docs/sources/configure-client/grafana-alloy/receive_profiles.md @@ -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 diff --git a/pkg/ingester/otlp/ingest_handler_test.go b/pkg/ingester/otlp/ingest_handler_test.go index 509f0dc8e8..fef5e3b49d 100644 --- a/pkg/ingester/otlp/ingest_handler_test.go +++ b/pkg/ingester/otlp/ingest_handler_test.go @@ -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) { @@ -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) - } } diff --git a/pkg/test/integration/ingest_otlp_test.go b/pkg/test/integration/ingest_otlp_test.go index 50f6dfe2af..1e15615334 100644 --- a/pkg/test/integration/ingest_otlp_test.go +++ b/pkg/test/integration/ingest_otlp_test.go @@ -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) - } }) }