-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(v2): update demo according to latest Mozaïk updates
- Loading branch information
Raphaël Benitte
committed
Aug 18, 2017
1 parent
2ceb5dc
commit 363b4ae
Showing
21 changed files
with
817 additions
and
415 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
.DS_Store | ||
.env | ||
.idea | ||
/node_modules | ||
node_modules | ||
/build | ||
.env | ||
.idea | ||
*.log* | ||
config-*.yml | ||
!config-github.yml | ||
!config-travis.yml |
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,5 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- '6' | ||
script: | ||
- npm run build | ||
- '7' | ||
- '8' |
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,109 @@ | ||
host: 0.0.0.0 | ||
port: 5000 | ||
|
||
# define duration between each dashboard rotation (ms) | ||
rotationDuration: 10000 | ||
|
||
# define the interval used by Mozaïk Bus to call registered APIs | ||
apisPollInterval: 100000 | ||
|
||
extension: &extension analytics | ||
startDate: &startDate 300daysAgo | ||
endDate: &endDate 288daysAgo | ||
id: &id 96121643 | ||
|
||
dashboards: | ||
- title: Google Analytics Demo | ||
columns: 3 | ||
rows: 3 | ||
widgets: | ||
- | ||
extension: *extension | ||
widget: Browser | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 0 | ||
y: 0 | ||
- | ||
extension: *extension | ||
widget: PageViews | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 1 | ||
y: 0 | ||
- | ||
extension: *extension | ||
widget: PageViewsLine | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 2 | ||
y: 0 | ||
- | ||
extension: *extension | ||
widget: TopPages | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 0 | ||
y: 1 | ||
- | ||
extension: *extension | ||
widget: TopPagesAvgTimeBar | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 1 | ||
y: 1 | ||
- | ||
extension: *extension | ||
widget: TopPagesViewsBar | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 2 | ||
y: 1 | ||
- | ||
extension: *extension | ||
widget: TopPagesViewsBubble | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 0 | ||
y: 2 | ||
- | ||
extension: *extension | ||
widget: TopPagesViewsLine | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 1 | ||
y: 2 | ||
- | ||
extension: *extension | ||
widget: TopPagesViewsTreeMap | ||
id: *id | ||
startDate: *startDate | ||
endDate: *endDate | ||
columns: 1 | ||
rows: 1 | ||
x: 2 | ||
y: 2 |
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,65 @@ | ||
port: 5000 | ||
|
||
# define duration between each dashboard rotation (seconds) | ||
rotationDuration: 10 | ||
# define the interval used by Mozaïk Bus to call registered APIs | ||
apisPollInterval: 100000 | ||
|
||
extension: &extension github | ||
github_user: &github_user plouc | ||
github_org: &github_org ekino | ||
github_repo: &github_repo plouc/mozaik | ||
|
||
dashboards: | ||
- title: "GitHub Demo: traffic" | ||
columns: 2 | ||
rows: 3 | ||
widgets: | ||
- | ||
extension: *extension | ||
widget: RepoTrafficViewsHistogram | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 0 | ||
y: 0 | ||
- | ||
extension: *extension | ||
widget: RepoTrafficViewsLine | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 1 | ||
y: 0 | ||
- | ||
extension: *extension | ||
widget: RepoTrafficClonesHistogram | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 0 | ||
y: 1 | ||
- | ||
extension: *extension | ||
widget: RepoTrafficClonesLine | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 1 | ||
y: 1 | ||
- | ||
extension: *extension | ||
widget: RepoCommitActivityHistogram | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 0 | ||
y: 2 | ||
- | ||
extension: *extension | ||
widget: RepoCommitActivityLine | ||
repository: *github_repo | ||
rows: 1 | ||
columns: 1 | ||
x: 1 | ||
y: 2 |
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
Oops, something went wrong.