Skip to content

Commit

Permalink
[receiver/purefa] Add the mandatory scraper on config file (#17909)
Browse files Browse the repository at this point in the history
* [receiver/purefa
] Add the mandatory scraper config on config file

* [receiver/purefa] Add selected section on README

* [receiver/purefa] Add the correct note on changelog file
  • Loading branch information
dgoscn authored Jan 23, 2023
1 parent 28afc45 commit ac55bd6
Showing 3 changed files with 50 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .chloggen/add_missing_config_patter_purefa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: receiver/purefareceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Updating documentation to include required configuration fields.

# One or more tracking issues related to the change
issues: [14886]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
22 changes: 19 additions & 3 deletions receiver/purefareceiver/README.md
Original file line number Diff line number Diff line change
@@ -26,9 +26,25 @@ receivers:
purefa:
endpoint: http://172.0.0.1:9490/metrics
arrays:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
host:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
directories:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
pods:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
volumes:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
env: dev
settings:
reload_intervals:
17 changes: 15 additions & 2 deletions receiver/purefareceiver/testdata/config.yaml
Original file line number Diff line number Diff line change
@@ -8,9 +8,22 @@ receivers:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
- address: gse-array02
host:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
directories:
- address: gse-array01
auth:
authenticator: bearertokenauth/array02
authenticator: bearertokenauth/array01
pods:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
volumes:
- address: gse-array01
auth:
authenticator: bearertokenauth/array01
env: dev
settings:
reload_intervals:

0 comments on commit ac55bd6

Please sign in to comment.