Skip to content

Commit

Permalink
Merge branch 'googleapis:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
surbhigarg92 authored Sep 30, 2024
2 parents 0f6fda3 + 1f06871 commit 4b173ba
Show file tree
Hide file tree
Showing 8 changed files with 2,248 additions and 234 deletions.
1,450 changes: 1,450 additions & 0 deletions observability-test/database.ts

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions observability-test/observability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ describe('startTrace', () => {
);
});

it('sanity check: TRACER_NAME, TRACER_VERSION', () => {
assert.equal(!TRACER_NAME, false, 'TRACER_NAME must be set');
assert.equal(!TRACER_VERSION, false, 'TRACER_VERSION must be set');
});

it('with semantic attributes', () => {
const opts = {tableName: 'table', dbName: 'db'};
startTrace('aSpan', opts, span => {
Expand Down
Loading

0 comments on commit 4b173ba

Please sign in to comment.