-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into docs/refactor
- Loading branch information
Showing
10,373 changed files
with
20,123 additions
and
245,506 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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
# source control. | ||
Xiaomin Lu | ||
Cole Ramos | ||
Karl Schultz | ||
Fei Zheng | ||
Nicholas Curtis | ||
Jose Santos | ||
Karl Schultz |
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 was deleted.
Oops, something went wrong.
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 +1 @@ | ||
2.0.0 | ||
2.0.1 |
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 @@ | ||
/dashboards |
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,75 @@ | ||
# ----------------------------------------------------------------------- | ||
# NOTE: | ||
# Dependencies are not included as part of Omniperf. | ||
# It's the user's responsibility to accept any licensing implications | ||
# before building the project | ||
# ----------------------------------------------------------------------- | ||
|
||
FROM ubuntu:22.04 | ||
WORKDIR /app | ||
|
||
USER root | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV TZ "US/Chicago" | ||
ENV NVM_DIR /usr/local/nvm | ||
ENV NODE_VERSION 20.12.2 | ||
|
||
ADD plugins/omniperf_plugin /var/lib/grafana/plugins/omniperf_plugin | ||
|
||
# Install Grafana and MongoDB Community Edition | ||
RUN apt-get update && \ | ||
apt-get install -y apt-transport-https software-properties-common wget && \ | ||
mkdir -p /etc/apt/keyrings/ && \ | ||
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | tee /etc/apt/keyrings/grafana.gpg > /dev/null && \ | ||
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | tee -a /etc/apt/sources.list.d/grafana.list && \ | ||
apt-get update && \ | ||
apt-get install -y grafana && \ | ||
apt-get install -y gnupg curl && \ | ||
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor && \ | ||
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list && \ | ||
apt-get update && \ | ||
apt-get install -y mongodb-org | ||
|
||
RUN mkdir /usr/local/nvm && \ | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \ | ||
. $NVM_DIR/nvm.sh && \ | ||
nvm install $NODE_VERSION && \ | ||
nvm alias default $NODE_VERSION && \ | ||
nvm use default | ||
|
||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules | ||
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH | ||
|
||
RUN npm --version && \ | ||
node --version | ||
|
||
# Install Grafana plugins | ||
RUN apt-get install -y tzdata systemd apt-utils npm vim net-tools && \ | ||
/usr/sbin/grafana-cli plugins install michaeldmoore-multistat-panel && \ | ||
/usr/sbin/grafana-cli plugins install ae3e-plotly-panel && \ | ||
/usr/sbin/grafana-cli plugins install natel-plotly-panel && \ | ||
/usr/sbin/grafana-cli plugins install grafana-image-renderer && \ | ||
/usr/sbin/grafana-cli plugins install aceiot-svg-panel && \ | ||
chown root:grafana /etc/grafana && \ | ||
cd /var/lib/grafana/plugins/omniperf_plugin && \ | ||
npm install && \ | ||
npm run build && \ | ||
apt-get autoremove -y && \ | ||
apt-get autoclean -y && \ | ||
sed -i "s/ bindIp.*/ bindIp: 0.0.0.0/" /etc/mongod.conf && \ | ||
mkdir -p /var/lib/grafana && \ | ||
touch /var/lib/grafana/grafana.lib && \ | ||
chown grafana:grafana /var/lib/grafana/grafana.lib | ||
|
||
# Overwrite grafana ini file | ||
COPY grafana.ini /etc/grafana | ||
|
||
# Switch Grafana port to 4000 | ||
RUN sed -i "s/^;http_port = 3000/http_port = 4000/" /etc/grafana/grafana.ini && \ | ||
sed -i "s/^http_port = 3000/http_port = 4000/" /usr/share/grafana/conf/defaults.ini | ||
|
||
# Starts mongo and grafana-server at startup | ||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,7 @@ | ||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.