Commit Graph

15 Commits

Author SHA1 Message Date
naseemkullah 144e11ab70
docs(prom-example): remove deprecated startServer option (#2802)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-02-22 14:51:54 -05:00
legendecas 5bb83224be
feat(api-metrics): remove bind/unbind and bound instruments (#2559)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-11-02 14:14:48 -04:00
Valentin Marchaud a8d39317b5
chore: rename sdks to better represent what they are [#2146] (#2340)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-08-05 21:13:18 +02:00
Mayur Kale 4e61459712
chore: update metrics example with UpDownCounter (#1239)
* chore: update metrics example with UpDownCounter

* chore: update getting-started

* chore: update README

* fix: lint

* Update packages/opentelemetry-metrics/README.md

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

* Update packages/opentelemetry-metrics/README.md

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-27 19:10:34 -07:00
Naseem c24d992305
feat!: remove label keys as they are no longer part of the spec (#1126)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-08 18:12:41 -07:00
Naseem 121b03d5ef
chore: template prometheus endpoint in examples rather than hardcode (#1142)
Signed-off-by: Naseem <naseem@transit.app>
2020-06-04 14:39:42 -04:00
Mayur Kale 3d26f822f4
Remove label set from metrics API (#915)
* metrics: remove LabeSet API

* fix: tests

* fix: lint
2020-04-01 12:36:20 -07:00
Mayur Kale 0c124719eb
fix: prometheus example (#813)
* fix: prometheus example

* update README
2020-02-25 14:22:20 -08:00
Mayur Kale 6616bb1791
remove Gauge instrument (#791)
* remove Gauge instrument
2020-02-19 07:50:14 -05:00
Daniel Dyla c5bc4382ec
update examples and getting started for provider and api package (#750)
* chore: rename provider in examples and getting started

* chore: update examples, bench, and getting started for api

* chore: update examples for latest changes

* chore: lint examples
2020-02-05 10:44:05 -08:00
Naseem d7f4fe29db feat: lint examples (#649)
* refactor: use a single eslintrc for all examples folders

furthermore, override the strict rule that ships with airbnb

* fix: turn off no-use-before-define

* fix: install eslint in ci container

Co-Authored-By: Daniel Dyla <dyladan@users.noreply.github.com>

* fix: ignore uninstalled packages lint errors

We will not want to install all examples in CI

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-24 08:03:04 -05:00
Xiao 63748aed25 feat: implement named meter (#700)
* feat: implement named meter

* chore: update name provider to registry, remove 'default' name on MeterProvider

* chore: remove duplicated types import

* chore: address comments
2020-01-21 11:15:20 -08:00
Joshua Stupplebeen 6f0084f557 chore: rename Metric Handle to Bound Instrument (#634) (#638)
* chore: fix renames in metrics test

* chore: fix formatting

* chore: rename BaseInstrument to BaseBoundInstrument

Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-03 12:14:58 -08:00
Daniel Dyla 2e4136cdc4 fix: prometheus counters can only count up (#561)
* fix: prometheus counters can only count up #553

* chore: review comments

* chore: uncomment fixed example

* fix: monotonic missing from proto

* fix: casing
2019-12-02 09:01:10 -08:00
Daniel Dyla bbc424dd85 chore: add prometheus example (#560)
* chore: add prometheus example

* Update examples/prometheus/index.js

Co-Authored-By: Mayur Kale <mayurkale@google.com>

* Apply suggestions from code review

Co-Authored-By: Mayur Kale <mayurkale@google.com>

* fix: typo in prometheus example

Ensure monotonic gauge always counts up
2019-11-25 14:13:03 -08:00