Giter Club home page Giter Club logo

choreo-docs's Introduction

Choreo getting started guide

This is a simple getting started guide for any novice user to tryout Choreo for the first time

[based on Choreo M1 - March 21st 2020]

Introduction

You can get started with Choreo in two ways,

  1. Signup with Choreo at development.choreo.dev and starting creating an app
  2. Start with a Ballerina app on ur machine (with VSCode) and connecting to Choreo once the app is running

This document is only focusing on #2 as #1 is straightforward and intuitive enough for self servicing.

How to connect a Ballerina app with Choreo

  1. You first need to compile your Ballerina project using the Ballerina distribution with Choreo features. You can do it using the following command. After this a JAR or multiple JARs will be generated in the target/bin directory
$ cd path/to/ballrina/project/root
$ curl -sL https://git.io/JvPqw | sh -
  1. Create the ballerina.conf with Choreo tracing configurations
[b7a.observability]
enabled=true
provider="choreo"
  1. Run the relevant generated JAR file using java -jar command (if ur app is hello-world)
$ java -jar target/bin/hello-world.jar
  1. Once the app is running, if will print a unique URL to Choreo, where you can observe the app
ballerina: visit https://development.choreo.dev/observe/app/obs92db367e-8312-4f42-8a63-51526510824c to access observability data
ballerina: started publishing metrics to Choreo
ballerina: started publishing traces to Choreo
[ballerina/http] started HTTP/WS listener 0.0.0.0:9190

You can refer to Samples directory for Ballerina projects with Choreo observability preconfigured.

Reporting Issues

We encourage you to report issues, documentation faults, and feature requests regarding Choreo through the Choreo issue tracker

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.