Commit graph

38 commits

Author SHA1 Message Date
Nate
da147f9d0a Add comprehensive cost tracking with OpenAI pricing and session usage display 2025-12-05 15:23:21 -08:00
uinstinct
6d0d6e67fd revert a comment 2025-12-04 18:26:42 +05:30
uinstinct
64dbb9abde rename to CONTINUE_METRICS_ENABLED 2025-11-28 18:41:49 +05:30
uinstinct
b985c1a32d fix: use more intuitive envvars to manage OTLP and PostHog telemetry settings
Co-Authored-By: Ross Golder <ross@golder.org>
2025-11-28 18:37:25 +05:30
Patrick Erichsen
23cc853785
feat: report failure tool (#8694)
* chore: add FAILED to status list

* feat: report failure tool

* add failure reporting for failed chat completions

* Create status.ts

* Update status.ts

* sentry logigng

* Update reportFailure.ts

* Update posthogService.ts
2025-11-13 18:48:48 -08:00
Nate Sesti
5519f27b6c
Add x-continue-unique-id header to LLM requests and normalize header casing (#8589)
* Add x-continue-unique-id header to LLM requests and normalize header casing

* fix: tests

* fix: tests
2025-11-04 12:05:37 -08:00
Patrick Erichsen
2d861bf397 Update telemetryService.ts 2025-10-14 16:30:34 -07:00
Patrick Erichsen
88ef07eb23 dallin's feedback 2025-10-14 15:25:46 -07:00
Continue Agent
73057d374b Add CONTINUE_ALLOW_ANONYMOUS_TELEMETRY env var for anonymous telemetry control
Separates control of OTEL telemetry and anonymous PostHog telemetry:
- CONTINUE_CLI_ENABLE_TELEMETRY: Controls OTEL telemetry (requires OTEL config)
- CONTINUE_ALLOW_ANONYMOUS_TELEMETRY: Controls anonymous PostHog telemetry

This allows users to independently control:
1. OTEL metrics (opt-in via config + env var)
2. Anonymous telemetry (opt-out via env var)

Changes:
- Added CONTINUE_ALLOW_ANONYMOUS_TELEMETRY env var
- Updated posthogService to use new env var
- Kept CONTINUE_CLI_ENABLE_TELEMETRY for OTEL control
- Updated documentation for both telemetry types
- Updated all tests to reflect the change

Generated with [Continue](https://continue.dev)

Co-authored-by: tingwai <tingwai@continue.dev>
2025-10-07 20:03:22 +00:00
Nate Sesti
d135140fb9
feat: cn serve boolean (#8005)
* feat: cn serve boolean

* capture sessionStart for cn serve
2025-09-26 17:31:57 -07:00
Dallin Romney
d1b4dbe7d2 fix: cubic feedback, lint 2025-09-20 02:49:52 -07:00
Dallin Romney
6d7bfb966d feat: search and replace fallback reintroduction cont. 2025-09-20 02:41:25 -07:00
Dallin Romney
c6858adb5b fix: keep posthog and telemetry service separate 2025-09-19 21:34:04 -07:00
Dallin Romney
77288b0e41 feat: posthog telemetry for cli tool errors 2025-09-19 00:02:03 -07:00
Nate Sesti
0040290328
Merge pull request #7728 from continuedev/nate/telemetry-updates
fix: OTLP reduced cardinality and other OTel improvements
2025-09-14 20:20:31 -07:00
Nate
27fa399158 chore: format 2025-09-12 20:18:41 -07:00
Nate
99b0a013a3 fix: remove high-cardinality labels in cli 2025-09-12 15:52:54 -07:00
Nate
9b0367fc28 fix: graceful exit instead of process.exit(1) in cli 2025-09-12 14:51:19 -07:00
Dallin Romney
934799eedf Merge branch 'main' of https://github.com/continuedev/continue into uinstinct/cli-skip-telemetry-tests 2025-09-10 18:41:57 -07:00
Nate
07cfa722f2 fix test 2025-09-10 14:16:45 -07:00
Nate
2884028d21 fix: address tests, add is_continue_remote 2025-09-10 10:35:35 -07:00
uinstinct
bf300829d9 chore(cli): add tests when for skip telemetry 2025-09-10 19:32:46 +05:30
Nate
54cc0d8430 feat: isHeadless and isGitHubCI on cli OTel 2025-09-09 17:15:26 -07:00
Nate Sesti
b3f4b82600
Merge pull request #7591 from continuedev/nate/cli-headless-flag
note whether headless mode / github actions in telemetry
2025-09-08 22:33:13 -07:00
Nate Sesti
ad700b2e0b
Merge pull request #7644 from continuedev/nate/fix-grafana
instance id to fix metrics
2025-09-08 21:31:24 -07:00
Nate
936f285cb9 fix: remove log 2025-09-08 21:31:14 -07:00
Nate
f4220fae71 fix tests 2025-09-08 21:26:22 -07:00
Nate
6e1ca77c25 Merge branch 'main' into nate/cli-headless-flag 2025-09-08 21:13:29 -07:00
Nate
a215f357bb feat: slash command counter 2025-09-08 21:03:01 -07:00
Nate
6e786f130a fix: use instance id for otel 2025-09-08 21:02:26 -07:00
Ting-Wai
3f5dd9dda5
Merge pull request #7528 from uinstinct/cli-telemetry-no-connection
feat(cli): skip telemetry if there is no internet connection
2025-09-08 16:24:40 -07:00
Nate Sesti
827a8ac413
Update extensions/cli/src/telemetry/posthogService.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-04 19:53:54 -07:00
Nate
2931a93a0c note whether headless mode / github actions in telemetry 2025-09-04 19:37:30 -07:00
Patrick Erichsen
19be9fb8e4 update metric names 2025-09-02 16:12:40 -07:00
Patrick Erichsen
4bb47f86aa Update telemetryService.ts 2025-09-02 16:06:12 -07:00
uinstinct
8c8efd7ed1 feat(cli): skip telemetry if there is no internet connection 2025-09-02 23:24:11 +05:30
Nate
2bde569370 chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
Nate
be45ab63ca Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e'
git-subtree-dir: extensions/cli
git-subtree-mainline: 1674c2aff1
git-subtree-split: e27a5c87d5
2025-08-20 17:19:56 -07:00