Skip to content

Commit

Permalink
Merge branch 'main' into demo16updates
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlparker authored Nov 3, 2023
2 parents f2f88a5 + 79e7426 commit 6c87461
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 137 deletions.
4 changes: 4 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,7 @@ body.td-page--draft .td-content {
max-width: calc(100% + 3rem);
}
}

details {
margin-bottom: $paragraph-margin-bottom;
}
69 changes: 1 addition & 68 deletions content/en/docs/collector/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,74 +3,7 @@ title: Benchmarks
weight: 99
---

<style>
main {
margin: 8px;
width: 100%;
display: flex;
flex-direction: column;
}

button {
color: #fff;
background-color: #3298dc;
border-color: transparent;
cursor: pointer;
text-align: center;
}

button:hover {
background-color: #2793da;
flex: none;
}

.spacer {
flex: auto;
}

.small {
font-size: 0.75rem;
}

footer {
margin-top: 16px;
display: flex;
align-items: center;
}

.benchmark-set {
margin: 8px 0;
width: 100%;
display: flex;
flex-direction: column;
}

.benchmark-title {
font-size: 3rem;
font-weight: 600;
word-break: break-word;
text-align: center;
}

.benchmark-graphs {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
width: 100%;
}

.benchmark-chart {
max-width: 1000px;
}

div.container {
max-width: 1012px;
margin-right: auto;
margin-left: auto;
}
</style>
<link rel="stylesheet" href="/css/benchmarks.css">

The OpenTelemetry Collector runs load tests on every commit to the
[opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-contrib/)
Expand Down
70 changes: 1 addition & 69 deletions content/en/docs/instrumentation/js/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,75 +4,7 @@ weight: 101
cSpell:ignore: Elems rrggbbaa
---

<style>

main {
margin: 8px;
width: 100%;
display: flex;
flex-direction: column;
}

button {
color: #fff;
background-color: #3298dc;
border-color: transparent;
cursor: pointer;
text-align: center;
}

button:hover {
background-color: #2793da;
flex: none;
}

.spacer {
flex: auto;
}

.small {
font-size: 0.75rem;
}

footer {
margin-top: 16px;
display: flex;
align-items: center;
}

.benchmark-set {
margin: 8px 0;
width: 100%;
display: flex;
flex-direction: column;
}

.benchmark-title {
font-size: 3rem;
font-weight: 600;
word-break: break-word;
text-align: center;
}

.benchmark-graphs {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
width: 100%;
}

.benchmark-chart {
max-width: 1000px;
}

div.container {
max-width: 1012px;
margin-right: auto;
margin-left: auto;
}
</style>
<link rel="stylesheet" href="/css/benchmarks.css">

The OpenTelemetry JavaScript SDK runs benchmark tests on every commit to the
[opentelemetry-js](https://github.com/open-telemetry/opentelemetry-js/)
Expand Down
66 changes: 66 additions & 0 deletions static/css/benchmarks.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
main {
margin: 8px;
width: 100%;
display: flex;
flex-direction: column;
}

button {
color: #fff;
background-color: #3298dc;
border-color: transparent;
cursor: pointer;
text-align: center;
}

button:hover {
background-color: #2793da;
flex: none;
}

.spacer {
flex: auto;
}

.small {
font-size: 0.75rem;
}

footer {
margin-top: 16px;
display: flex;
align-items: center;
}

.benchmark-set {
margin: 8px 0;
width: 100%;
display: flex;
flex-direction: column;
}

.benchmark-title {
font-size: 3rem;
font-weight: 600;
word-break: break-word;
text-align: center;
}

.benchmark-graphs {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
width: 100%;
}

.benchmark-chart {
max-width: 1000px;
}

div.container {
max-width: 1012px;
margin-right: auto;
margin-left: auto;
}

0 comments on commit 6c87461

Please sign in to comment.