Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7,025 changed files
with
863,088 additions
and
6 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
29 changes: 29 additions & 0 deletions
29
agent/sdk/pinpoint-1.8.0/.github/ISSUE_TEMPLATE/bug_report.md
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,29 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**What version of pinpoint are you using?** | ||
master/v1.7.3/v1.7.2 etc. | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**What did you do to trigger the bug?** | ||
Steps to reproduce, for example: | ||
1. Ran '...' with agent attached | ||
2. '...' method invoked | ||
3. '...' interceptor threw '...' exception | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Logs** | ||
If applicable, please attach agent/collector/web DEBUG log that includes the code execution that led to the bug. In case of agents, including the start-up log may be of great help. | ||
|
||
**Additional context** | ||
Add any other context about the problem here, such as affected library for agents, how your collector/web/hbase is set up if applicable. |
20 changes: 20 additions & 0 deletions
20
agent/sdk/pinpoint-1.8.0/.github/ISSUE_TEMPLATE/feature_request.md
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Which module is your feature request related to?** | ||
Plugin/UI etc | ||
|
||
**Is your feature request related to a problem?** | ||
A clear and concise description of what the problem is. | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,9 @@ | ||
--- | ||
name: Question | ||
about: Questions | ||
|
||
--- | ||
|
||
<!-- | ||
Please be as detailed as possible so that we can help answer your question as quickly as possible. | ||
--> |
27 changes: 27 additions & 0 deletions
27
agent/sdk/pinpoint-1.8.0/.github/ISSUE_TEMPLATE/troubleshooting.md
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,27 @@ | ||
--- | ||
name: Troubleshooting | ||
about: For when something doesn't work | ||
|
||
--- | ||
|
||
**What version of pinpoint are you using?** | ||
master/v1.7.3/v1.7.2 etc. | ||
|
||
**Describe your problem** | ||
A clear and concise description of what is not working. | ||
|
||
**What have you done?** | ||
Steps you have taken to trigger the problem, for example: | ||
1. Launched '...' with agent | ||
2. Tried tracing '...' (see agent log below) | ||
3. Collector outputs trace log (see collector log below) | ||
4. No trace shows up in the web UI (see web log below) | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Logs** | ||
If applicable, please attach agent/collector/web DEBUG log that includes the part where you have encountered the problem. In case of agents, including the start-up log may be of great help. | ||
|
||
**Additional context** | ||
Add any other context about the problem here, such as affected library for agents, how your collector/web/hbase is set up if applicable. |
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,38 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 30 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 20 | ||
|
||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- "proposal" | ||
- "module:agent" | ||
- "module:collector" | ||
- "module:flink" | ||
- "module:web" | ||
- "module:plugin" | ||
- "module:project-common" | ||
- "bug" | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: true | ||
|
||
# Limit to only `issues` or `pulls` | ||
only: issues | ||
|
||
# Label to use when marking an issue as stale | ||
staleLabel: stale | ||
|
||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue/proposal has been automatically marked as stale because it hasn't had any recent activity. | ||
It will automatically be closed if no further activity occurs for 20days. | ||
If you think this should still be open, or the problem still persists, | ||
just pop a reply in the comments and one of the maintainers will (try!) to follow up. | ||
Thank you for your interest and contribution to the Pinpoint Community. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false | ||
|
||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 |
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,16 @@ | ||
/.project | ||
/.settings/ | ||
/.idea | ||
/.vscode/ | ||
/deploy | ||
/target | ||
/build/ | ||
**/node | ||
**/node_modules | ||
**/jsdoc | ||
/**/.idea | ||
*.iml | ||
out/ | ||
/src/main/webapp/lib/js/**/*.js | ||
/src/main/webapp/lib/js/**/*.map | ||
/src/main/webapp/lib/css/**/*.css |
110 changes: 110 additions & 0 deletions
110
agent/sdk/pinpoint-1.8.0/.mvn/wrapper/MavenWrapperDownloader.java
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,110 @@ | ||
/* | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
*/ | ||
|
||
import java.net.*; | ||
import java.io.*; | ||
import java.nio.channels.*; | ||
import java.util.Properties; | ||
|
||
public class MavenWrapperDownloader { | ||
|
||
/** | ||
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. | ||
*/ | ||
private static final String DEFAULT_DOWNLOAD_URL = | ||
"https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar"; | ||
|
||
/** | ||
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to | ||
* use instead of the default one. | ||
*/ | ||
private static final String MAVEN_WRAPPER_PROPERTIES_PATH = | ||
".mvn/wrapper/maven-wrapper.properties"; | ||
|
||
/** | ||
* Path where the maven-wrapper.jar will be saved to. | ||
*/ | ||
private static final String MAVEN_WRAPPER_JAR_PATH = | ||
".mvn/wrapper/maven-wrapper.jar"; | ||
|
||
/** | ||
* Name of the property which should be used to override the default download url for the wrapper. | ||
*/ | ||
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; | ||
|
||
public static void main(String args[]) { | ||
System.out.println("- Downloader started"); | ||
File baseDirectory = new File(args[0]); | ||
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); | ||
|
||
// If the maven-wrapper.properties exists, read it and check if it contains a custom | ||
// wrapperUrl parameter. | ||
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); | ||
String url = DEFAULT_DOWNLOAD_URL; | ||
if(mavenWrapperPropertyFile.exists()) { | ||
FileInputStream mavenWrapperPropertyFileInputStream = null; | ||
try { | ||
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); | ||
Properties mavenWrapperProperties = new Properties(); | ||
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); | ||
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); | ||
} catch (IOException e) { | ||
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); | ||
} finally { | ||
try { | ||
if(mavenWrapperPropertyFileInputStream != null) { | ||
mavenWrapperPropertyFileInputStream.close(); | ||
} | ||
} catch (IOException e) { | ||
// Ignore ... | ||
} | ||
} | ||
} | ||
System.out.println("- Downloading from: : " + url); | ||
|
||
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); | ||
if(!outputFile.getParentFile().exists()) { | ||
if(!outputFile.getParentFile().mkdirs()) { | ||
System.out.println( | ||
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'"); | ||
} | ||
} | ||
System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); | ||
try { | ||
downloadFileFromURL(url, outputFile); | ||
System.out.println("Done"); | ||
System.exit(0); | ||
} catch (Throwable e) { | ||
System.out.println("- Error downloading"); | ||
e.printStackTrace(); | ||
System.exit(1); | ||
} | ||
} | ||
|
||
private static void downloadFileFromURL(String urlString, File destination) throws Exception { | ||
URL website = new URL(urlString); | ||
ReadableByteChannel rbc; | ||
rbc = Channels.newChannel(website.openStream()); | ||
FileOutputStream fos = new FileOutputStream(destination); | ||
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); | ||
fos.close(); | ||
rbc.close(); | ||
} | ||
|
||
} |
Binary file not shown.
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 @@ | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip |
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,41 @@ | ||
sudo : required | ||
language: java | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- openjdk-6-jdk | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
env: | ||
global: | ||
- secure: NZHVmbkzMZGm9M71n5sitb47tyHJE/byA8l6u2zqdhfeEZsrdhZKpgTRYdQYa4btsBHoO/hImziRMz2SuaQgGyK3EiizzZfFqzzqfMvq1WXKeNNI46QtN9RKA60o+/TIptmJADIXfAq5KEjOBOVIyN93Wsf0+4LP13Ve+UDFG38= | ||
- JAVA_6_HOME=/usr/lib/jvm/java-6-openjdk-amd64 | ||
JAVA_7_HOME=/usr/lib/jvm/java-7-openjdk-amd64 | ||
JAVA_8_HOME=/usr/lib/jvm/java-8-oracle | ||
JAVA_9_HOME=/usr/lib/jvm/java-9-oracle | ||
|
||
install: | ||
- set -o pipefail | ||
- ls -al $JAVA_6_HOME | ||
- ls -al $JAVA_7_HOME | ||
- ls -al $JAVA_8_HOME | ||
- ls -al $JAVA_9_HOME | ||
- $JAVA_6_HOME/bin/java -version | ||
- $JAVA_7_HOME/bin/java -version | ||
- $JAVA_8_HOME/bin/java -version | ||
- $JAVA_9_HOME/bin/java -version | ||
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | grep -Fv '[copy' | ||
|
||
script: | ||
- jdk_switcher use oraclejdk8 | ||
- ./mvnw clover:setup test -Ptest clover:aggregate clover:clover -e | grep -Fv 'DEBUG' | grep -Fv '[copy' | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
- bash ./doc/scripts/deployGitPage.sh | ||
|
||
dist: | ||
- trusty |
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,22 @@ | ||
Thank you very much for choosing to share your contribution with us. Please read this page to help us better realize your goals. | ||
|
||
## Issues | ||
Feel free to open issues on just about anything related to Pinpoint. These can be anything from bug report to feature proposal. A few points to consider before opening a new issue: | ||
* Please make sure you've searched through the documentation and existing issues to see if what you're posting has already been addressed. | ||
* If your build fails, please take a look at [Travis build status](https://travis-ci.org/naver/pinpoint) to check our current build status. | ||
* If something is not working, please be as detailed as possible in your description. The more information you provide, the easier it will be for us to provide you with a solution. | ||
* If something not directly related to Pinpoint is not working (such as HBase), try and see if it's something you can get fixed. Chances are, you might be much better equipped to solve the problem. Even if nothing works, being able to share everything you've tried with us will help resolve the issue a lot quicker. | ||
* For quick questions, or issues that aren't directly related to the code base, please consider posting them to [Pinpoint Google Group](https://groups.google.com/forum/#!forum/pinpoint_user). | ||
|
||
## Pull Requests | ||
Apart from trivial fixes such as typo or formatting, all pull requests should have a corresponding issue associated with them. It is always helpful to know what people are working on, and different (often better) ideas may pop up while discussing them. | ||
Please keep these in mind before you create a pull request: | ||
* Every new java file must have a copy of the license comment. You may copy this from an existing file. | ||
* Make sure you've tested your code thoroughly. For plugins, please try your best to include integration tests if possible. | ||
* Before submitting your code, make sure any changes introduced by your code does not break the build, or any tests. | ||
* Clean up your commit log into logical chunks of work to make it easier for us to figure out what and why you've changed something. (`git rebase -i` helps) | ||
* Please try best to keep your code updated against the master branch before creating a pull request. | ||
* Make sure you create the pull request against our master branch. | ||
* If you've created your own plugin, please take a look at [plugin contribution guideline](../../wiki/Pinpoint-Plugin-Developer-Guide#iii-plugin-contribution-guideline). | ||
|
||
Please make sure you've signed the [Contributor License Agreement](https://docs.google.com/forms/d/e/1FAIpQLSfNuUx0lkiapWF8LE0xQSVL-ZNheuy2LEIixyqCj9y5GsSzVQ/viewform?c=0&w=1) before contributing your code. This isn't a copyright - it gives us (Naver) permission to use and redistribute your code as part of the project. |
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,18 @@ | ||
<!-- | ||
If you're reporting a bug or seeking help because something is not working, | ||
Please take a look at our FAQ (http://naver.github.io/pinpoint/faq.html) first | ||
and if still not solved please fill out following template. | ||
For all else, feel free to DELETE everything and post away your issue! | ||
--> | ||
|
||
#### Description | ||
<!--- Provide a more detailed introduction to the issue itself --> | ||
|
||
#### Environment | ||
<!--- Include as many relevant details about the environment you experienced the bug in --> | ||
* Pinpoint version: | ||
* OS, WAS, affected library, etc: | ||
* Additional details (e.g. how your collector/web is set up): | ||
|
||
#### Additional Info | ||
<!--- Not obligatory, but things like logs can help if something's not working --> |
Oops, something went wrong.