Skip to content

Create TargetPool priority queue.#2

Merged
juliusv merged 1 commit intomasterfrom
feature/scraping-infrastructure
Jan 4, 2013
Merged

Create TargetPool priority queue.#2
juliusv merged 1 commit intomasterfrom
feature/scraping-infrastructure

Conversation

@matttproud
Copy link
Contributor

TargetPool is a pool of targets pending scraping. For now, it
uses the heap.Interface from container/heap to provide a
priority queue for the system to scrape from the next target.

It is my supposition that we'll use a model whereby we create a
TargetPool for each scrape interval, into which Target
instances are registered.

``TargetPool`` is a pool of targets pending scraping.  For now, it
uses the ``heap.Interface`` from ``container/heap`` to provide a
priority queue for the system to scrape from the next target.

It is my supposition that we'll use a model whereby we create a
``TargetPool`` for each scrape interval, into which ``Target``
instances are registered.
@ghost ghost assigned juliusv Jan 4, 2013
@juliusv
Copy link
Member

juliusv commented Jan 4, 2013

👍

juliusv added a commit that referenced this pull request Jan 4, 2013
@juliusv juliusv merged commit 64dcf04 into master Jan 4, 2013
juliusv added a commit that referenced this pull request Jan 15, 2013
matttproud added a commit that referenced this pull request Apr 9, 2014
…sh-travis

Simplify Travis CI Configuration
matttproud added a commit that referenced this pull request Apr 9, 2014
Sundry cosmetic fixes across the board.
simonpasquier referenced this pull request in simonpasquier/prometheus Oct 12, 2017
Add lots of docs, mostly best practices.
simonpasquier referenced this pull request in simonpasquier/prometheus Oct 12, 2017
This introduces a lot of small followup changes to
prometheus/docs#2.

Some things are clear right/wrong spelling/grammar issues, while others
are a matter of style or taste.

Except in extreme cases, I didn't reflow the text aggressively to a
certain number of columns, in order to make it easier to spot
differences.

Let me know what you think.

Some reference links worth mentioning:

Compound adjectives:
http://www.grammar-monster.com/lessons/adjectives_compound_adjectives.htm

Run-on sentences:
http://grammar.ccc.commnet.edu/grammar/runons.htm

General tech-writing style guide (which I haven't actually looked at
much yet):
http://infobits.eu/tech-doc/style-guide/
simonpasquier referenced this pull request in simonpasquier/prometheus Oct 12, 2017
hectorj2f pushed a commit to hectorj2f/prometheus that referenced this pull request Apr 27, 2018
bobmshannon pushed a commit to bobmshannon/prometheus that referenced this pull request Nov 19, 2018
* Fix for logrotation as per SRX/haruspex-platform#24
bobmshannon pushed a commit to bobmshannon/prometheus that referenced this pull request Nov 19, 2018
Squashed commit of the following:

commit 2e0b52a1dcb6d0bcacbc75c9161ceeee665dbc38
Author: Bob Shannon <bshannon@palantir.com>
Date:   Wed May 16 20:43:50 2018 -0400

    Discover all targets if not specified

commit af5e89eb06189deccd0a0697d82ff65d29421ce4
Author: Bob Shannon <bshannon@palantir.com>
Date:   Wed May 16 17:11:26 2018 -0400

    Fix alertmanager config and add params support to scrape targets
    Squashed commit of the following:

    commit b7064ca91e39c6ad858a2245015b28a5774ade0c
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:54:23 2018 -0400

        alertmanager tls

    commit 4cb5a28df6d237a355fedb72225e9ae8b1737c5f
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:49:43 2018 -0400

        tweak

    commit 8f62dfc16a2457775778a5406803f2153557c67d
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:44:47 2018 -0400

        tweak

    commit 97809426670ed55241c4b9c90837baab05799d49
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:41:35 2018 -0400

        tweak

    commit 2e0fb8e353a7cd80e371040facb7a7354e7442e1
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:31:01 2018 -0400

        Spacing

    commit e625c4d604f89e709a26e0b8bba6fdab852df435
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:24:07 2018 -0400

        Spacing

    commit 9584aca05288cd57555dafd7190bb86d9478ce49
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:22:19 2018 -0400

        Spacing

    commit 9125c93f71928ed4a70b2a4fa94b49682e970c99
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:12:48 2018 -0400

        Lint

    commit 95e167b3626455551b471236dac1ee8a6018a73a
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:11:02 2018 -0400

        Spacing

    commit a618040016ef17c069266a1c621fd96a9d992da5
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:59:58 2018 -0400

        Spacing

    commit 77f08e5913808c4210c9f991887a7dcca1eddc7e
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:49:07 2018 -0400

        more spacing

    commit 36de3708078876185aa50794f5eb792e8d991efa
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:44:54 2018 -0400

        More spacing

    commit ed1d59673611a70a4633cd07b23d0b9affc86279
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:41:48 2018 -0400

        Config spacing

    commit e0ed5d5974978261d64729106eb4659c3b809408
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:32:07 2018 -0400

        Update logrotate version

    commit 252b4b977b73cddc9738f9cd17ff9c87b98229d8
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:26:00 2018 -0400

        Fix alertmanager path

    commit 441d1dd3fa0717077bd4592fed609c028da45d14
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:22:22 2018 -0400

        Indentation

    commit e3ab07fa0463fd2fb0ba45a374ae01b0072d6a6e
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:09:27 2018 -0400

        Syntax

    commit f51bf1cdd8e5c551c9de641f117a0326f8a41ec6
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 14:59:42 2018 -0400

        Add support for params in scrape config

commit 65bcc947626d7f221672a80454a4c9f614fab552
Author: Bob Shannon <bshannon@palantir.com>
Date:   Thu May 10 13:42:14 2018 -0400

    Discover alert rules file generated by rulemanager (prometheus#3)

commit e884e2cb39071c11dbf3271d6e9fd0c7cbc5da1b
Author: Bob Shannon <bshannon@palantir.com>
Date:   Tue May 8 14:59:46 2018 -0400

    Update circle.yml

commit abf006836a8f92bbf1f099866e2417a948912533
Author: Bob Shannon <bshannon@palantir.com>
Date:   Tue May 8 11:43:12 2018 -0400

    Update circle.yml

commit 0fa00fb1b2b12e76fe4645cc0878b7de57c12b2a
Author: Marcos David <mdavid@palantir.com>
Date:   Tue May 8 16:26:52 2018 +0100

    Fix for logrotation as per SRX/haruspex-platform#24 (prometheus#2)

    * Fix for logrotation as per SRX/haruspex-platform#24

commit 469ed98dabffa7d28fb18838cefa2ec1706e5b26
Author: Bob Shannon <bshannon@palantir.com>
Date:   Fri May 4 12:20:04 2018 -0400

    Update and rename .approval.yml to .approver.yml

commit c562ce8fdb49e48a93eb524ff23c5fa6994790ab
Author: Bob Shannon <bshannon@palantir.com>
Date:   Fri May 4 12:08:00 2018 -0400

    Create .approval.yml
KeyOfSpectator pushed a commit to KeyOfSpectator/prometheus that referenced this pull request Dec 19, 2019
xuzhaokui pushed a commit to xuzhaokui/prometheus-opensource that referenced this pull request Feb 18, 2020
replay referenced this pull request in replay/prometheus Jan 10, 2022
Smithx10 pushed a commit to Smithx10/prometheus that referenced this pull request Feb 8, 2022
Smithx10 pushed a commit to Smithx10/prometheus that referenced this pull request Feb 8, 2022
fionaliao added a commit to fionaliao/prometheus that referenced this pull request Sep 13, 2023
Fix handling of native histogram encoding in OOO chunks
ywwg added a commit to ywwg/prometheus that referenced this pull request Feb 15, 2024
# This is the 1st commit message:

UTF-8: Add support for parsing UTF8 metric and label names

This adds support for the new grammar of `{"metric_name", "l1"="val",}`. This grammar will also be valid for non-UTF-8 names.
UTF-8 names will not be considered valid unless model.NameValidationScheme is changed.

Signed-off-by: Owen Williams <owen.williams@grafana.com>

# The commit message prometheus#2 will be skipped:

# Restore previous behavior where spaces between label terms are acceptable in Promparse
#
# Signed-off-by: Owen Williams <owen.williams@grafana.com>
saswatamcode pushed a commit to saswatamcode/prometheus that referenced this pull request Jun 17, 2024
ywwg added a commit to ywwg/prometheus that referenced this pull request Aug 1, 2024
# This is the 1st commit message:

manual patching

# The commit message prometheus#2 will be skipped:

# fix proto field collision

# The commit message prometheus#3 will be skipped:

# need to add utf8_names to both protos

# The commit message prometheus#4 will be skipped:

# hmmmm
ywwg added a commit to ywwg/prometheus that referenced this pull request Aug 1, 2024
# This is the 1st commit message:

manual patching

# The commit message prometheus#2 will be skipped:

# fix proto field collision

# The commit message prometheus#3 will be skipped:

# need to add utf8_names to both protos

# The commit message prometheus#4 will be skipped:

# hmmmm
@juanpc2018 juanpc2018 mentioned this pull request Aug 22, 2024
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants