forked from etrace-io/etrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stream] add stream module; update github actions (etrace-io#8)
[stream] add stream module; update github actions
- Loading branch information
Showing
179 changed files
with
8,291 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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,30 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Create Github Release | ||
|
||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: | | ||
Changes in this Release | ||
- First Change | ||
- Second Change | ||
draft: true | ||
prerelease: false |
This file contains 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,23 @@ | ||
name: Deploy To Central Maven | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Maven Central Repository | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
server-id: ossrh | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
- name: Publish package | ||
run: mvn -B deploy -Possrh | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} |
This file contains 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,30 @@ | ||
# This workflow will build a Java project with Maven | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: Mvn Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- ci | ||
pull_request: | ||
branches: | ||
- master | ||
- ci | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Maven | ||
run: mvn -B package --file pom.xml | ||
- name: Unit Test | ||
run: mvn -B test -Punit-test |
This file contains 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 |
---|---|---|
|
@@ -93,4 +93,5 @@ fabric.properties | |
hs_err_pid* | ||
|
||
temp/ | ||
*.iml | ||
*.iml | ||
**/*.iml |
This file contains 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
This file contains 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,4 +1,15 @@ | ||
# Introduce | ||
# [ETrace](https://etrace.io)\: a robust Application Performance Monitor system. | ||
|
||
[![Hex.pm](https://img.shields.io/hexpm/l/plug)](https://github.com/jacobke/etrace/blob/master/LICENSE) | ||
[![Maven Central](https://img.shields.io/maven-central/v/io.etrace/etrace-agent?label=etrace)](https://search.maven.org/search?q=a:etrace-agent) | ||
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/etrace-io/etrace/Mvn%20Test)](https://github.com/etrace-io/etrace/actions?query=workflow%3A%22Mvn+Test%22) | ||
[![CodeFactor](https://img.shields.io/codefactor/grade/github/etrace-io/etrace)](https://www.codefactor.io/repository/github/etrace-io/etrace) | ||
|
||
[![GitHub issues](https://img.shields.io/github/issues/etrace-io/etrace)](https://github.com/etrace-io/etrace/issues) | ||
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/etrace-io/etrace)](https://github.com/etrace-io/etrace/pulse) | ||
[![GitHub last commit](https://img.shields.io/github/last-commit/etrace-io/etrace)](https://github.com/etrace-io/etrace/graphs/commit-activity) | ||
![GitHub Org's stars](https://img.shields.io/github/stars/etrace-io?style=social) | ||
|
||
This is a robust Application Performance Monitor system. | ||
|
||
# Introduce | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -42,11 +42,11 @@ public enum Type { | |
TCP, | ||
GRPC, | ||
KAFKA, | ||
LINDB, | ||
HDFS, | ||
HBASE, | ||
ES, | ||
PROMETHEUS | ||
PROMETHEUS, | ||
LINDB, | ||
} | ||
} | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>etrace-plugins</artifactId> | ||
<groupId>io.etrace</groupId> | ||
<version>0.0.7-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>datasource-prometheus</artifactId> | ||
|
||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.etrace</groupId> | ||
<artifactId>etrace-common</artifactId> | ||
</dependency> | ||
<!-- The client --> | ||
<dependency> | ||
<groupId>io.prometheus</groupId> | ||
<artifactId>simpleclient</artifactId> | ||
<version>${promethues.simpleclient.version}</version> | ||
</dependency> | ||
<!-- Hotspot JVM metrics--> | ||
<dependency> | ||
<groupId>io.prometheus</groupId> | ||
<artifactId>simpleclient_hotspot</artifactId> | ||
<version>${promethues.simpleclient.version}</version> | ||
</dependency> | ||
<!-- Exposition HTTPServer--> | ||
<dependency> | ||
<groupId>io.prometheus</groupId> | ||
<artifactId>simpleclient_httpserver</artifactId> | ||
<version>${promethues.simpleclient.version}</version> | ||
</dependency> | ||
<!-- Pushgateway exposition--> | ||
<dependency> | ||
<groupId>io.prometheus</groupId> | ||
<artifactId>simpleclient_pushgateway</artifactId> | ||
<version>${promethues.simpleclient.version}</version> | ||
</dependency> | ||
|
||
|
||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-context</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-autoconfigure</artifactId> | ||
</dependency> | ||
|
||
</dependencies> | ||
<properties> | ||
<promethues.simpleclient.version>0.9.0</promethues.simpleclient.version> | ||
</properties> | ||
|
||
</project> |
Oops, something went wrong.