Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk committed Sep 18, 2023
1 parent 70b0fde commit baa7b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib
src/profiling/proto
examples/typescript
4 changes: 2 additions & 2 deletions examples/typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ start({
// Set up the OpenTelemetry metrics pipeline and start collecting runtime metrics.
metrics: {
runtimeMetricsEnabled: true,
}
},
});

// Load libraries after calling start()
Expand All @@ -18,7 +18,7 @@ const requestCounter = meter.createCounter('requests');

const app = express();

app.get("/", (req, res) => {
app.get('/', (req, res) => {
requestCounter.add(1);
const randomValue = tracer.startActiveSpan('calculate-random', (span) => {
const result = (Math.random() * 42) | 0;
Expand Down

0 comments on commit baa7b5e

Please sign in to comment.