-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into update-nixpkgs-2311
- Loading branch information
Showing
31 changed files
with
794 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
nri-postgresql/test/golden-results/observability-spec-postgres-reporting-ghc-9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
TracingSpan | ||
{ name = "test-root" | ||
, started = MonotonicTime { inMicroseconds = 0 } | ||
, finished = MonotonicTime { inMicroseconds = 0 } | ||
, frame = | ||
Just | ||
( "rootTracingSpanIO" | ||
, SrcLoc | ||
{ srcLocPackage = "main" | ||
, srcLocModule = "ObservabilitySpec" | ||
, srcLocFile = "test/ObservabilitySpec.hs" | ||
, srcLocStartLine = 60 | ||
, srcLocStartCol = 7 | ||
, srcLocEndLine = 60 | ||
, srcLocEndCol = 33 | ||
} | ||
) | ||
, details = Nothing | ||
, summary = Nothing | ||
, succeeded = Succeeded | ||
, containsFailures = False | ||
, allocated = 0 | ||
, children = | ||
[ TracingSpan | ||
{ name = "Postgresql Query" | ||
, started = MonotonicTime { inMicroseconds = 0 } | ||
, finished = MonotonicTime { inMicroseconds = 0 } | ||
, frame = | ||
Just | ||
( "doQuery" | ||
, SrcLoc | ||
{ srcLocPackage = "main" | ||
, srcLocModule = "ObservabilitySpec" | ||
, srcLocFile = "test/ObservabilitySpec.hs" | ||
, srcLocStartLine = 36 | ||
, srcLocStartCol = 11 | ||
, srcLocEndLine = 36 | ||
, srcLocEndCol = 27 | ||
} | ||
) | ||
, details = | ||
Just | ||
"{\"query\":\"Secret *****\",\"query template\":\"!SELECT 1::bigint\",\"sql operation\":\"UNKNOWN\",\"queried relation\":\"!SELECT 1::bigint\",\"database type\":\"PostgreSQL\",\"host\":\"/mock/db/path.sock\",\"database\":\"mock-db-name\",\"rows returned\":1}" | ||
, summary = Just "UNKNOWN !SELECT 1::bigint" | ||
, succeeded = Succeeded | ||
, containsFailures = False | ||
, allocated = 0 | ||
, children = | ||
[ TracingSpan | ||
{ name = "acquiring Postgres connection from pool" | ||
, started = MonotonicTime { inMicroseconds = 0 } | ||
, finished = MonotonicTime { inMicroseconds = 0 } | ||
, frame = | ||
Just | ||
( "withContext" | ||
, SrcLoc | ||
{ srcLocPackage = "main" | ||
, srcLocModule = "Postgres" | ||
, srcLocFile = "src/Postgres.hs" | ||
, srcLocStartLine = 225 | ||
, srcLocStartCol = 9 | ||
, srcLocEndLine = 225 | ||
, srcLocEndCol = 24 | ||
} | ||
) | ||
, details = Just "{}" | ||
, summary = Just "acquiring Postgres connection from pool" | ||
, succeeded = Succeeded | ||
, containsFailures = False | ||
, allocated = 0 | ||
, children = [] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.