-
Notifications
You must be signed in to change notification settings - Fork 5
DOCSP-46221: Atlas SDK for Go Monitoring & Logging scripts for Atlas Architecture Center #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
26d1152
Update repo IA
cbullinger b78cdc5
Add internal functions for loading vars and creating authenticated cl…
cbullinger f6a1b41
Add infra and pull logs script
cbullinger f69498b
Add utility functions and troubleshoot metrics calls
cbullinger 40aee99
Fix metric outputs
cbullinger 6ab8b51
Refactor to use apiClient interface
cbullinger cd7d779
fixing utility functions
cbullinger 79663dc
Add finalized mock tests for Monitoring & Logging functions
cbullinger a995b32
Update /generated-usage-examples subdirectories to match new structure
cbullinger df0261f
Bluehawk examples to sdk/snippets and atlas-sdk-go/
cbullinger 349c0a1
Add generic config file
cbullinger 784b210
Move copier test files to corresponding directories in new IA
cbullinger 8aa1ece
Tidying up
cbullinger 0f380c5
Cleaning up generated-usage-examples directory
cbullinger a93c66e
applying tech review feedback
cbullinger f846f4f
define separate output directories
cbullinger bf36e82
Fix BH copy script
cbullinger 2c37b2c
Clean up for copy to artifact repo
cbullinger 16b940e
Merge branch 'main' of ssh://github.com/mongodb/docs-code-examples in…
cbullinger de004d8
Refactor and write unit tests
cbullinger f5414b3
Run bluehawk copy
cbullinger cfdc15a
Update usage-examples/go/atlas-sdk-go/internal/utils.go
cbullinger eff647c
Apply review feedback and rerun BH script
cbullinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# name: CI | ||
# on: [push, pull_request] | ||
# jobs: | ||
# test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
# - name: Set up Go | ||
# uses: actions/setup-go@v5 | ||
# with: | ||
# go-version-file: go.mod | ||
# - name: Test | ||
# run: go test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
# MacOS Build Artifacts | ||
*.DS_Store | ||
# Don't commit .env files with secret info, EVER | ||
|
||
# Secrets and keys ****DO NOT COMMIT SECRETS*** | ||
*.env | ||
# JetBrains IDE files | ||
*/secrets.json | ||
|
||
# Logs | ||
*.log | ||
*.gz | ||
|
||
# IDE files | ||
## Visual Studio Code files | ||
.vscode | ||
## JetBrains IDE files | ||
*.idea | ||
# Python virtual environment | ||
## Python virtual environment | ||
*/venv | ||
# Node.js dependencies | ||
|
||
# Language specific output | ||
## Node.js dependencies | ||
*/node_modules | ||
# Java build files | ||
*/target | ||
## Java build files | ||
*/target | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 0 additions & 110 deletions
110
generated-usage-examples/go/atlas-sdk-go/copied-project/cmd/get_logs/main.go
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
generated-usage-examples/go/atlas-sdk-go/copied-project/cmd/get_metrics_disk/main.go
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
generated-usage-examples/go/atlas-sdk-go/copied-project/cmd/get_metrics_process/main.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.