Skip to content

Commit 3a63c83

Browse files
committed
fix teamId Comments
1 parent 46dfd09 commit 3a63c83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/manual/betterstack_api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ import axios from 'axios';
2323
const betterstack_api_token = process.env.LOG_BETTERSTACK_API_TOKEN;
2424

2525
// API "Connect remotely via HTTP" // Dashboard > Connect remotely
26-
// https://telemetry.betterstack.com/team/t<teamID>/dashboards/connections
26+
// https://telemetry.betterstack.com/team/t<id>/dashboards/connections
2727
const betterstack_remotely_http_endpoint = process.env.LOG_BETTERSTACK_API_HTTP_REMOTELY_ENDPOINT + "?output_format_pretty_row_numbers=0";
2828
const betterstack_api_username = process.env.LOG_BETTERSTACK_API_HTTP_USERNAME;
2929
const betterstack_api_password = process.env.LOG_BETTERSTACK_API_HTTP_PASSWORD;
3030

3131
// Dashboard > Sources
32-
// https://telemetry.betterstack.com/team/t<teamID>/sources
32+
// https://telemetry.betterstack.com/team/t<id>/sources
3333
// Source NAME - get it from source config UI : "Basic" > "Source ID" - it's a name not an int
3434
const betterstack_source_table_name = process.env.LOG_BETTERSTACK_SOURCE_TABLE_NAME;
3535
// Source ID - get it from source url, or from results of get sources api - it's an int
3636
// https://telemetry.betterstack.com/team/t<teamID>/sources/<sourceID>/data-ingestion
3737
// unused // const betterstack_source_id = process.env.LOG_BETTERSTACK_SOURCE_ID;
3838

39-
// Team ID - get it from source url or fetch source request
39+
// Team ID - get it from "Dashboard > Connect remotely" examples, or fetch source request
4040
const betterstack_team_id = process.env.LOG_BETTERSTACK_TEAM_ID;
4141

4242
// action to do as first cmd line argument (node script.js <action>)

0 commit comments

Comments
 (0)