Skip to content

Added telemetry disclosure messages - #1332

Merged
Igor Rodionov (goruha) merged 12 commits into
DEV-2965/implement-atmos-telemetryfrom
DEV-2965/telemetry-disclosure
Jul 3, 2025
Merged

Igor Rodionov (goruha) merged 12 commits into
DEV-2965/implement-atmos-telemetryfrom
DEV-2965/telemetry-disclosure

Conversation

@goruha

@goruha Igor Rodionov (goruha) commented Jun 23, 2025 •

Copy link
Copy Markdown
Member

what

  • Added the atmos disclosure message

why

  • Provide transparency to our users about the anonymous telemetry we'd like to collect

CleanShot 2025-06-28 at 06 58 06@2x

references

@goruha
Igor Rodionov (goruha) requested a review from a team as a code owner June 23, 2025 19:44
@mergify mergify Bot added stacked Stacked triage Needs triage labels Jun 23, 2025
@goruha

Copy link
Copy Markdown
Member Author

Mergify (@Mergifyio) rebase

@mergify

mergify Bot commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

rebase

✅ Branch has been successfully rebased

@goruha
Igor Rodionov (goruha) force-pushed the DEV-2965/telemetry-disclosure branch from beef6a6 to a703e3e Compare June 23, 2025 20:26
@goruha Igor Rodionov (goruha) added the no-release Do not create a new release (wait for additional code changes) label Jun 23, 2025
@goruha

Copy link
Copy Markdown
Member Author

Mergify (@Mergifyio) rebase

@mergify

mergify Bot commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

rebase

✅ Branch has been successfully rebased

@goruha
Igor Rodionov (goruha) force-pushed the DEV-2965/telemetry-disclosure branch from a703e3e to 14072f1 Compare June 24, 2025 11:50
…/atmos into DEV-2965/telemetry-disclosure

* 'DEV-2965/telemetry-disclosure' of github.com:cloudposse/atmos:
  Added disclosure messages
  Regenerate README
  Move disclosure message to separate PR
  Move disclosure message to separate PR
  Move disclosure message to separate PR
  Move disclosure message to separate PR
  Delete test.log
  Fix accptance tests
  Added disclosure messages
  Added disclosure messages
@codecov

codecov Bot commented Jun 24, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 70.58824% with 10 lines in your changes missing coverage. Please review.

Project coverage is 53.19%. Comparing base (ec26b11) to head (0a07e24).
Report is 4 commits behind head on DEV-2965/implement-atmos-telemetry.

Files with missing lines Patch % Lines
cmd/root.go 0.00% 4 Missing ⚠️
pkg/telemetry/utils.go 87.50% 2 Missing and 1 partial ⚠️
cmd/cmd_utils.go 0.00% 2 Missing ⚠️
pkg/config/cache.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                          Coverage Diff                           @@
##           DEV-2965/implement-atmos-telemetry    #1332      +/-   ##
======================================================================
- Coverage                               53.40%   53.19%   -0.22%     
======================================================================
  Files                                     251      251              
  Lines                                   26650    26684      +34     
======================================================================
- Hits                                    14233    14194      -39     
- Misses                                  10726    10813      +87     
+ Partials                                 1691     1677      -14     
Flag Coverage Δ
unittests 53.19% <70.58%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify Bot removed the triage Needs triage label Jun 28, 2025
@goruha

Copy link
Copy Markdown
Member Author

Mergify (@Mergifyio) rebase

@mergify

mergify Bot commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

rebase

❌ Base branch update has failed

Details

Git reported the following error:

Rebasing (1/9)
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config_-f_yaml.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config_-f_yaml.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config_imports.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config_imports.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_configuration.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_configuration.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_indentation.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_indentation.stdout.golden
error: could not apply beef6a6... Added disclosure messages
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply beef6a6... Added disclosure messages

@mergify

mergify Bot commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

💥 This pull request now has conflicts. Could you fix it Igor Rodionov (@goruha)? 🙏

@mergify mergify Bot added the conflict This PR has conflicts label Jul 1, 2025
@mergify mergify Bot removed the conflict This PR has conflicts label Jul 1, 2025
@goruha Igor Rodionov (goruha) changed the title Added disclosure messages Added telemetry disclosure messages Jul 2, 2025
@goruha

Copy link
Copy Markdown
Member Author

Mergify (@Mergifyio) rebase

@mergify

mergify Bot commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

rebase

❌ Base branch update has failed

Details

Git reported the following error:

Rebasing (1/10)
Auto-merging cmd/cmd_utils.go
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config_-f_yaml.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config_-f_yaml.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_config_imports.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_config_imports.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_atmos_describe_configuration.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_atmos_describe_configuration.stdout.golden
Auto-merging tests/snapshots/TestCLICommands_indentation.stdout.golden
CONFLICT (content): Merge conflict in tests/snapshots/TestCLICommands_indentation.stdout.golden
error: could not apply beef6a6... Added disclosure messages
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply beef6a6... Added disclosure messages

@goruha
Igor Rodionov (goruha) merged commit ee796f0 into DEV-2965/implement-atmos-telemetry Jul 3, 2025
@goruha
Igor Rodionov (goruha) deleted the DEV-2965/telemetry-disclosure branch July 3, 2025 22:42
Igor Rodionov (goruha) added a commit that referenced this pull request Jul 4, 2025
* Added initial implementation of telemetry

* [autofix.ci] apply automated fixes

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Fix acceptance tests

* Reduce tests verbosity

* Reduce tests verbosity

* Fix tests

* [autofix.ci] apply automated fixes

* Addded tests

* Added tests for utils

* [autofix.ci] apply automated fixes

* Address comments

* [autofix.ci] apply automated fixes

* Fix tests

* [autofix.ci] apply automated fixes

* DRY

* Split full PR to small PRs

* Split full PR to small PRs

* Split full PR to small PRs

* Fix tests

* Added support CI, docker and Atmos pro

* Reduce public package methods

* [autofix.ci] apply automated fixes

* Added interface to be generated by mock

* [autofix.ci] apply automated fixes

* Address coderabbit comments

* Address coderabbit comments

* [autofix.ci] apply automated fixes

* Fix tests

* Remove telemetry timeout schema

* Remove telemetry timeout schema

* Fix tests

* Fix cache dependent tests

* [autofix.ci] apply automated fixes

* Fix cache dependent tests

* Fix read-only dir testcase

* Fix read-only dir testcase

* Fix tests

* Fix tests

* Fix tests bypassing cache on error

* Fix tests bypassing cache on error

* Fix tests bypassing cache on error

* Added comment

* Added comment

* Added comment

* Address comments

* Address comments

* Address comments

* refactor telemetry provider to use pointer config (#1329)

* Added comments

* Revert disclouser message

* Added disclosure messages

* Added disclosure messages

* Fix accptance tests

* Delete test.log

* Move disclosure message to separate PR

* Move disclosure message to separate PR

* Move disclosure message to separate PR

* Move disclosure message to separate PR

* Regenerate README

* Renew token

* [autofix.ci] apply automated fixes

* Address comments

* Add telemetry to commands (#1360)

* Consolidate cmd telemetry

* [autofix.ci] apply automated fixes

* Update root.go

* Capture commands

* Telemetry - `atmos describe` cmd (#1342)

* Added telemetry to describe commands

* Update TestCLICommands_atmos_describe_config_imports.stderr.golden

* Update TestCLICommands_atmos_describe_configuration.stderr.golden

* Fix tests

* Update describe_component.go

* Update describe_config.go

* Update describe_stacks.go

* Update describe_workflows.go

* Fix tests

* Fix tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* Atmos site Telemetry page (#1335)

* Added telemetry site page

* Update website/docs/cli/telemetry.mdx

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

* Update website/docs/cli/telemetry.mdx

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

* Update website/docs/cli/telemetry.mdx

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

* Update website/docs/cli/telemetry.mdx

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

---------

Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>

* Added  telemetry disclosure messages (#1332)

* Added disclosure messages

* Added disclosure messages

* Cherry pick disclosure message

* Fix tests

* Fix tests

* Fix tests

* Improve disclosure messages

* Fix tests

* Fix tests

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release Do not create a new release (wait for additional code changes) stacked Stacked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants