Skip to content

Commit

Permalink
Update release-drafter.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Weifeng Wang <[email protected]>

Update README.md

Update release-drafter.yml

Signed-off-by: Weifeng Wang <[email protected]>

Update release-drafter.yml

use k3s:v1.29.3-k3s1 as default

Signed-off-by: Weifeng Wang <[email protected]>

Update release-drafter.yml

Signed-off-by: Weifeng Wang <[email protected]>

Update README.md
  • Loading branch information
qclaogui committed Mar 27, 2024
1 parent 753cf91 commit dacbb14
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 33 deletions.
32 changes: 18 additions & 14 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ change-title-escapes: '\<*_&#@`' # You can add # and @ to disable mentions, and
version-template: '$COMPLETE'
no-changes-template: 'This release contains minor changes and bugfixes.'
template: |
# Release v$NEXT_MINOR_VERSION
A simple command to run Grafana LGTMP Stack in Docker or Kubernetes.
## What's Changed
$CHANGES
Expand All @@ -58,21 +61,21 @@ footer: |
| Port-mapping | Component | Description |
| --- | --- | --- |
| `12345:12345` | [Grafana Agent][7] | Eexpose `12345` port so we can directly access `grafana-agent` inside container |
| `33100:3100` | [Loki][1] | Expose `33100` port so we can directly access `loki` inside container |
| `3000:3000` | [Grafana][2] | Expose `3000` port so we can directly access `grafana` inside container |
| `33200:3200` | [Tempo][3] | Expose `33200` port so we can directly access `tempo` inside container |
| `38080:8080` | [Mimir][4] | Expose `38080` port so we can directly access `mimir` inside container |
| `34040:4040` | [Pyroscope][5] | Expose `34040` port so we can directly access `pyroscope` inside container |
| `9001:9001` | [Minio][6] | Expose `9001` port so we can access `minio` console with `MINIO_ROOT_USER=lgtmp`, `MINIO_ROOT_PASSWORD=supersecret` |
| `12345:12345`, `4317`, `4318`, `6831` | [Grafana Agent][1] | Eexpose `12345` port so we can directly access `grafana-agent` inside container |
| `33100:3100` | [Loki][2] | Expose `33100` port so we can directly access `loki` inside container |
| `3000:3000`, `6060` | [Grafana][3] | Expose `3000` port so we can directly access `grafana` inside container |
| `33200:3200`, `4317`, `4318` | [Tempo][4] | Expose `33200` port so we can directly access `tempo` inside container |
| `38080:8080` | [Mimir][5] | Expose `38080` port so we can directly access `mimir` inside container |
| `34040:4040` | [Pyroscope][6] | Expose `34040` port so we can directly access `pyroscope` inside container |
| `9001:9001`, `9000` | [Minio][7] | Expose `9001` port so we can access `minio` console with `MINIO_ROOT_USER=lgtmp`, `MINIO_ROOT_PASSWORD=supersecret` |
[7]: https://github.com/grafana/agent
[1]: https://github.com/grafana/loki
[2]: https://github.com/grafana/grafana
[3]: https://github.com/grafana/tempo
[4]: https://github.com/grafana/mimir
[5]: https://github.com/grafana/pyroscope
[6]: https://github.com/minio/minio
[1]: https://github.com/grafana/agent
[2]: https://github.com/grafana/loki
[3]: https://github.com/grafana/grafana
[4]: https://github.com/grafana/tempo
[5]: https://github.com/grafana/mimir
[6]: https://github.com/grafana/pyroscope
[7]: https://github.com/minio/minio
## Helpful Links
Expand All @@ -83,3 +86,4 @@ footer: |
- <https://github.com/k3d-io/k3d>
- <https://github.com/k3s-io/k3s>
- <https://github.com/grafana/grafana>
- [Grafana Agent Configuration Generator](https://github.com/grafana/agent-configurator) a tool allows for easy configuration of Grafana Agents Flow system
11 changes: 7 additions & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ jobs:
with:
token: ${{ secrets.QCBOT_TOKEN }}
title: Add release notes for ${{ steps.draft.outputs.tag_name }}
commit-message: Add release notes for ${{ steps.draft.outputs.tag_name }}
commit-message: |
Add release notes for ${{ steps.draft.outputs.tag_name }}
Signed-off-by: 🤖GitHub Actions[Bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: 🤖GitHub Actions[Bot] <41898282+github-actions[bot]@users.noreply.github.com>
body: |
🤖 Copy release notes from Draft
Expand All @@ -56,8 +59,8 @@ jobs:
</details>
<br />
> Auto-generated by [Release Drafter GitHub Action][1]
> Auto-generated by [Release Drafter GitHub Action][0]
[1]: https://github.com/qclaogui/codelab-monitoring/blob/main/.github/workflows/release-drafter.yml
labels: kind/improvement, skip-release-notes
[0]: https://github.com/qclaogui/codelab-monitoring/blob/main/.github/workflows/release-drafter.yml
labels: kind/docs, skip-release-notes
branch: update-release-notes
52 changes: 39 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
# Provisioning Scalable Observability Workspace

<p align="center">
<a href="https://github.com/qclaogui/codelab-monitoring/actions/workflows/ci.yml">
<img src="https://github.com/qclaogui/codelab-monitoring/actions/workflows/ci.yml/badge.svg">
</a>
<a href="https://github.com/qclaogui/codelab-monitoring/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/qclaogui/codelab-monitoring.svg" alt="License">
</a>
<a href="https://github.com/qclaogui/codelab-monitoring/tags">
<img src="https://img.shields.io/github/last-commit/qclaogui/codelab-monitoring" alt="GitHub Last Commit">
</a>
</p>
![CI](https://github.com/qclaogui/codelab-monitoring/actions/workflows/ci.yml/badge.svg)
![Go version](https://img.shields.io/github/go-mod/go-version/qclaogui/codelab-monitoring)
![License](https://img.shields.io/github/license/qclaogui/codelab-monitoring.svg)
![GitHub Last Commit](https://img.shields.io/github/last-commit/qclaogui/codelab-monitoring)

A simple command to run Grafana LGTMP Stack in Docker or Kubernetes.

## Quick Start

Open a new terminal window to create `compose.yaml`, an simple use case `compose.yaml` like so:
Open a new terminal to create `compose.yaml`, an simple use case `compose.yaml` like so:

```yaml
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
Expand Down Expand Up @@ -116,7 +111,7 @@ General
## Docker Compose
These instructions will get you through the deploying samples with Docker Compose.
The easiest way to run project locally is to use docker compose, these instructions will get you through the deploying samples with Docker Compose.
***Prerequisites:*** Make sure that you have Docker and Docker Compose installed
Expand Down Expand Up @@ -251,3 +246,34 @@ Flags:
Use "lgtmp [command] --help" for more information about a command.
```
## Grafana LGTMP Stack default port-mapping
| Port-mapping | Component | Description |
| --- | --- | --- |
| `12345:12345`, `4317`, `4318`, `6831` | [Grafana Agent][1] | Eexpose `12345` port so we can directly access `grafana-agent` inside container |
| `33100:3100` | [Loki][2] | Expose `33100` port so we can directly access `loki` inside container |
| `3000:3000`, `6060` | [Grafana][3] | Expose `3000` port so we can directly access `grafana` inside container |
| `33200:3200`, `4317`, `4318` | [Tempo][4] | Expose `33200` port so we can directly access `tempo` inside container |
| `38080:8080` | [Mimir][5] | Expose `38080` port so we can directly access `mimir` inside container |
| `34040:4040` | [Pyroscope][6] | Expose `34040` port so we can directly access `pyroscope` inside container |
| `9001:9001`, `9000` | [Minio][7] | Expose `9001` port so we can access `minio` console with `MINIO_ROOT_USER=lgtmp`, `MINIO_ROOT_PASSWORD=supersecret` |
[1]: https://github.com/grafana/agent
[2]: https://github.com/grafana/loki
[3]: https://github.com/grafana/grafana
[4]: https://github.com/grafana/tempo
[5]: https://github.com/grafana/mimir
[6]: https://github.com/grafana/pyroscope
[7]: https://github.com/minio/minio
## Helpful Links
- <https://grafana.com/docs/>
- <https://github.com/grafana/agent-modules>
- <https://github.com/docker/compose>
- <https://grafana.com/docs/agent/latest/flow/reference/components/>
- <https://github.com/k3d-io/k3d>
- <https://github.com/k3s-io/k3s>
- <https://github.com/grafana/grafana>
- [Grafana Agent Configuration Generator](https://github.com/grafana/agent-configurator) a tool allows for easy configuration of Grafana Agents Flow system
2 changes: 1 addition & 1 deletion fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
//go:embed .lgtmp.tar
var DirFS embed.FS

//go:generate tar cf .lgtmp.tar .bingo docker-compose kubernetes monitoring-mixins tools Makefile compose.yaml
//go:generate tar cf .lgtmp.tar .bingo docker-compose kubernetes monitoring-mixins tools Makefile
var GenDir = ".lgtmp"

func init() {
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/k3d-k3s-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ agents: 2
kubeAPI:
hostIP: "127.0.0.1"
hostPort: "6550"
image: rancher/k3s:v1.29.2-k3s1
image: rancher/k3s:v1.29.3-k3s1
ports:
# mapping the ingress port 80 to localhost:8080
- port: 8080:80
Expand Down

0 comments on commit dacbb14

Please sign in to comment.