Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Setup devenv observability #1104

Closed
1 task done
djordon opened this issue Dec 12, 2024 · 0 comments · Fixed by #1105
Closed
1 task done

[Feature]: Setup devenv observability #1104

djordon opened this issue Dec 12, 2024 · 0 comments · Fixed by #1105

Comments

@djordon
Copy link
Contributor

djordon commented Dec 12, 2024

Feature - Setup devenv observability

1. Description

Setup prometheus in devenv for taking in metrics. Later we can setup devenv for taking in logs as well.

1.1 Context & Purpose

For easy local testing, especially useful when devnet is misbehaving,

2. Technical Details:

2.1 Acceptance Criteria:

  • We have docker compose entries for prometheus metrics

3. Related Issues and Pull Requests (optional):

@djordon djordon added this to the sBTC: Nice to have milestone Dec 12, 2024
@djordon djordon self-assigned this Dec 12, 2024
@djordon djordon added this to sBTC Dec 12, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in sBTC Dec 12, 2024
@djordon djordon moved this from Needs Triage to In Progress in sBTC Dec 12, 2024
@djordon djordon moved this from In Progress to In Review in sBTC Dec 13, 2024
github-merge-queue bot pushed a commit that referenced this issue Feb 26, 2025
## Description

Closes #1104

This just sets up metrics and logs. ~~Logs will come in a separate PR~~.

## Changes

* Add prometheus, loki, grafana, and vector, as devenv services.
* Export metrics to prometheus in devenv.
* Export logs to loki in devenv.
* Log in JSON in devenv when running sbtc in a container.

## Testing Information

I tested this locally and everything worked as expected.

## Checklist:

- [x] I have performed a self-review of my code
@github-project-automation github-project-automation bot moved this from In Review to Done in sBTC Feb 26, 2025
djordon added a commit that referenced this issue Mar 5, 2025
## Description

Closes #1104

This just sets up metrics and logs. ~~Logs will come in a separate PR~~.

## Changes

* Add prometheus, loki, grafana, and vector, as devenv services.
* Export metrics to prometheus in devenv.
* Export logs to loki in devenv.
* Log in JSON in devenv when running sbtc in a container.

## Testing Information

I tested this locally and everything worked as expected.

## Checklist:

- [x] I have performed a self-review of my code
djordon added a commit that referenced this issue Mar 5, 2025
## Description

Closes #1104

This just sets up metrics and logs. ~~Logs will come in a separate PR~~.

## Changes

* Add prometheus, loki, grafana, and vector, as devenv services.
* Export metrics to prometheus in devenv.
* Export logs to loki in devenv.
* Log in JSON in devenv when running sbtc in a container.

## Testing Information

I tested this locally and everything worked as expected.

## Checklist:

- [x] I have performed a self-review of my code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant