0.4.3 • Published 7 months ago
@targetprocess/yaft-exporter-client v0.4.3
yaft-exporter-client
Client for feature toggles endpoints exposed by microservices
Instrumenting your application
Feature toggles metadata and default values will be scraped using the pull model (like Prometheus does).
To make sure your application owned feature toggles are scraped correctly, you must:
- Add new HTTP endpoint without authentication that will implement the contract from the spec. This endpoint should be accessed only from the private network.
- Add k8sservice withfeature-toggles: exporterlabel and port namedhttp-exporterorhttp(for microservices)
Notes
- Targetprocess monolith will be discovered via Consul(we'll use the existingtpandcometservices). We don't have a convenient way to register new services inConsulso please usek8sdiscovery for microservices.
- If your microservice is written in Typescriptyou're encouraged to use the existingFeatureToggles/FeatureTogglemodels from the autogenerated client for your exporter endpoint return type.
- As for now most of the fields in the specification are marked optional (in order to make the transition process easier). However, you're strongly encouraged to expose as much information about each feature toggle (like feature toggle description, tags, etc) as possible. If it could be done without big efforts, please do it.
0.4.3-alpha.0
7 months ago
0.4.3
7 months ago
0.4.2
8 months ago
0.4.2-alpha.3
8 months ago
0.4.1
1 year ago
0.4.0-alpha.0
2 years ago
0.4.0
2 years ago
0.3.0
3 years ago
0.2.4
4 years ago
0.2.4-alpha.0
4 years ago
0.2.3
5 years ago
0.2.3-alpha.0
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago