pyang55 / k8sdeploy Goto Github PK
View Code? Open in Web Editor NEWa tool to deploy to multiple namespaces in a cluster
License: MIT License
a tool to deploy to multiple namespaces in a cluster
License: MIT License
Hi, I've just briefly read your repo and would want to try, but first can you please update the LICENSE file for your repo? Thanks
The Airbrake CLI installs the Airbrake Go notifier automatically in your Go project. To install the notifier directly without using the CLI, please scroll down to the Installing manually section.
brew install airbrake/airbrake-cli/airbrake
config
commandAuthenticate by setting your user-key
with the config
command:
airbrake config set user-key YOUR_USER_KEY_HERE
You can find your user key in your profile settings page.
Invoke the following to have the Airbrake CLI install the Airbrake notifier for your project:
airbrake install --project-id YOUR_PROJECT_ID_HERE
You can find your project ID in your project's settings.
After this, you are set! Check out the Testing your installation section to send a test error to Airbrake.
Navigate to your project's main directory and install our Go package, gobrake
:
go get github.com/airbrake/gobrake/v5
Create a new directory, initialize a new module and go get
the library:
mkdir airbrake_example && cd airbrake_example
go mod init airbrake_example
go get github.com/airbrake/gobrake/v5
Import and initialize the gobrake
package in your application:
(You can find your project ID and project key in your project's settings)
package main
import "github.com/airbrake/gobrake/v5"
var airbrake = gobrake.NewNotifierWithOptions(&gobrake.NotifierOptions{
ProjectId: <Your project ID>,
ProjectKey: "<Your project ID>",
Environment: "production",
})
func main() {
defer airbrake.Close()
defer airbrake.NotifyOnPanic()
}
That's it! The airbrake.NotifyOnPanic()
call will handle automatic panic reporting.
You can use airbrake.Notify()
to send handled errors. Let's use it now to check if gobrake
is installed correctly:
import "errors"
func testAirbrake() {
airbrake.Notify(errors.New("Error Test from Airbrake"), nil)
}
You should see this dashboard updating with your test error soon after you run that function.
Check out our official GitHub repo for info on advanced features like ignoring errors, setting error severity and more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.