~troyanov/maas:temporal-metrics

Last commit made on 2023-07-24
Get this branch:
git clone -b temporal-metrics https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
temporal-metrics
Repository:
lp:~troyanov/maas

Recent commits

dac374e... by Anton Troyanov

Revert "feat(temporal): log to file"

This reverts commit 964690fe3ff456f7a860b933bbbc5ff82b752e41.

318ed06... by Anton Troyanov

feat(temporal)!: change listener to port 5271

964690f... by Anton Troyanov

feat(temporal): log to file

3547bb5... by Anton Troyanov

feat(temporal): expose prometheus metrics on 5272

1fb1e9a... by Anton Troyanov

feat(temporal): enable prometheus metrics

Tally is used, because opentelemetry doesn't seem to be stable yet.

From the docs:
  framework: The framework to use, currently supports opentelemetry and tally,
  default is tally.
  We plan to switch default to opentelemetry once its API become stable

4259117... by Jacopo Rota

Refactoring machine list tests with maasapiserver

1c9ad3f... by Alexsander de Souza

update grafana-agent sample configuration

also updates the `prometheus_enabled` configuration key description to reflect its function more accurately.

fixes LP:2028132

7b4dd31... by Anton Troyanov

chore(maasagent): go get -u

2815de0... by Alberto Donato

apiserver: add middleware and endpoint to track prometheus metrics

6d2c926... by Anton Troyanov

feat(temporal): add check IPs workflow

Change netmon.Scan signature

Scan will be mostly called from Temporal Activity.
Passing slice of args as (args ...interface{}) requires extra copying,
so instead signature of Scan is changed from variadic args to accept
slice.

Changing return type from slice of pairs to a map also makes searching
results easier with O(1) lookup.